navbar.tmpl 875 B

123456789101112131415161718
  1. <div class="four wide column">
  2. <div class="ui vertical menu navbar">
  3. <div class="header item">{{.i18n.Tr "explore"}}</div>
  4. <a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubURL}}/explore/repos">
  5. <span class="octicon octicon-repo"></span> {{.i18n.Tr "explore.repos"}}
  6. </a>
  7. <a class="{{if .PageIsExploreMirrors}}active{{end}} item" href="{{AppSubURL}}/explore/mirrors">
  8. <span class="octicon octicon-repo-clone"></span> Mirrors
  9. </a>
  10. <a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubURL}}/explore/users">
  11. <span class="octicon octicon-person"></span> {{.i18n.Tr "explore.users"}}
  12. </a>
  13. <a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubURL}}/explore/organizations">
  14. <span class="octicon octicon-organization"></span> {{.i18n.Tr "explore.organizations"}}
  15. </a>
  16. </div>
  17. </div>