diff options
author | Unknwon <u@gogs.io> | 2015-11-13 12:05:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-13 12:05:48 -0500 |
commit | 0f438ef0b3fe641df102212becb32cdfb4dd3305 (patch) | |
tree | 55eca7cea3b5b5ff2592426eb9374459c5fef323 /templates/user/dashboard/nav.tmpl | |
parent | a6c7716742943aa492545716b629a566c4d923de (diff) | |
download | gitea-0f438ef0b3fe641df102212becb32cdfb4dd3305.tar.gz gitea-0f438ef0b3fe641df102212becb32cdfb4dd3305.zip |
new dashboard ui
Diffstat (limited to 'templates/user/dashboard/nav.tmpl')
-rw-r--r-- | templates/user/dashboard/nav.tmpl | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/templates/user/dashboard/nav.tmpl b/templates/user/dashboard/nav.tmpl deleted file mode 100644 index 0549bbe949..0000000000 --- a/templates/user/dashboard/nav.tmpl +++ /dev/null @@ -1,46 +0,0 @@ -<div id="dashboard-header"> - <ul class="menu menu-line container"> - <li id="dashboard-selection-menu" class="down drop"> - <a href="#" class="text-bold radius"> - <img class="avatar-30" src="{{.ContextUser.AvatarLink}}" alt="user-avatar" /> - {{.ContextUser.Name}} - </a> - <div class="drop-down panel panel-radius"> - <p class="panel-header"><strong>{{.i18n.Tr "home.switch_dashboard_context"}}</strong></p> - <ul class="menu menu-vertical switching-list" id="dashboard-switch-menu"> - <li class="org {{if eq .ContextUser.Id .SignedUser.Id}}checked{{end}}"> - <a href="{{AppSubUrl}}/"> - <i class="octicon octicon-check"></i> - <img class="avatar-24" src="{{.SignedUser.AvatarLink}}" alt="user-avatar" /> - {{.SignedUser.Name}} - </a> - </li> - {{range .Orgs}} - <li class="org {{if eq $.ContextUser.Id .Id}}checked{{end}}"> - <a href="{{.DashboardLink}}"> - <i class="octicon octicon-check"></i> - <img class="avatar-24" src="{{.AvatarLink}}" alt="user-avatar" /> - {{.Name}} - </a> - </li> - {{end}} - <!-- <li> - <a href="{{AppSubUrl}}/user/settings/orgs"><i class="octicon octicon-organization"></i>{{.i18n.Tr "manage_org"}}</a> - </li> --> - <li> - <a href="{{AppSubUrl}}/org/create"><i class="octicon octicon-plus"></i>{{.i18n.Tr "new_org"}}</a> - </li> - </ul> - </div> - </li> - <li class="right"> - <a {{if $.PageIsIssues}}class="current"{{end}} href="{{AppSubUrl}}/{{if .ContextUser.IsOrganization}}org/{{.ContextUser.Name}}/{{end}}issues"><i class="octicon octicon-issue-opened"></i>{{.i18n.Tr "issues"}}</a> - </li> - <!-- <li class="right"> - <a {{if .PageIsPulls}}class="current"{{end}} href="{{.ContextUser.DashboardLink}}pulls"><i class="octicon octicon-git-pull-request"></i>{{.i18n.Tr "pull_requests"}}</a> - </li> --> - <li class="right"> - <a {{if $.PageIsNews}}class="current"{{end}} href="{{.ContextUser.DashboardLink}}"><i class="octicon octicon-rss"></i>{{.i18n.Tr "news_feed"}}</a> - </li> - </ul> -</div>
\ No newline at end of file |