diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-01 00:33:40 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-01 00:33:40 +0800 |
commit | c5ce33047e77b03b8d6e289d2b250e15c65ae3d2 (patch) | |
tree | 068ff0edefa6a5e26def3a25e644ca3e29b54e64 /templates/user | |
parent | bf5595f9a0ee41a30ab04348e02d87ee9f53969a (diff) | |
download | gitea-c5ce33047e77b03b8d6e289d2b250e15c65ae3d2.tar.gz gitea-c5ce33047e77b03b8d6e289d2b250e15c65ae3d2.zip |
Mirror fix and hide missing pages for 0.5 release
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/dashboard/nav.tmpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/user/dashboard/nav.tmpl b/templates/user/dashboard/nav.tmpl index 6064f35692..c37447d3a6 100644 --- a/templates/user/dashboard/nav.tmpl +++ b/templates/user/dashboard/nav.tmpl @@ -24,21 +24,23 @@ </a> </li> {{end}} - <li> + <!-- <li> <a href="/user/settings/orgs"><i class="octicon octicon-organization"></i>{{.i18n.Tr "manage_org"}}</a> - </li> + </li> --> <li> <a href="/org/create"><i class="octicon octicon-plus"></i>{{.i18n.Tr "new_org"}}</a> </li> </ul> </div> </li> + {{if not .ContextUser.IsOrganization}} <li class="right"> <a {{if $.PageIsIssues}}class="current"{{end}} href="{{.ContextUser.DashboardLink}}issues"><i class="octicon octicon-issue-opened"></i>{{.i18n.Tr "issues"}}</a> </li> - <li class="right"> + {{end}} + <!-- <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> --> <li class="right"> <a {{if $.PageIsNews}}class="current"{{end}} href="{{.ContextUser.DashboardLink}}"><i class="octicon octicon-rss"></i>{{.i18n.Tr "news_feed"}}</a> </li> |