summaryrefslogtreecommitdiffstats
path: root/templates/explore/navbar.tmpl
diff options
context:
space:
mode:
authorDaniel Oaks <daniel@danieloaks.net>2016-09-01 23:08:05 +1000
committer无闻 <u@gogs.io>2016-09-01 09:08:05 -0400
commitb3d9ca4ccd7c4353db0971b61bbcbffd126cb61d (patch)
tree2187f2c6631385bc0247af11e26648f5717b8acf /templates/explore/navbar.tmpl
parent4efaf8e882dad4bffbb84104aec6df25d15b4f87 (diff)
downloadgitea-b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d.tar.gz
gitea-b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d.zip
Add the ability to explore organizations (#3573)
* Add ability to explore organizations * Use right icon for org explore links
Diffstat (limited to 'templates/explore/navbar.tmpl')
-rw-r--r--templates/explore/navbar.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl
index 1e2ab786af..2e20da0fa5 100644
--- a/templates/explore/navbar.tmpl
+++ b/templates/explore/navbar.tmpl
@@ -7,5 +7,8 @@
<a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubUrl}}/explore/users">
<span class="octicon octicon-person"></span> {{.i18n.Tr "explore.users"}}
</a>
+ <a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations">
+ <span class="octicon octicon-organization"></span> {{.i18n.Tr "explore.organizations"}}
+ </a>
</div>
</div>