navbar.tmpl 929 B

12345678910111213141516171819
  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 .PageIsExploreCommits}}active{{end}} item" href="{{AppSubURL}}/explore/commits">
  8. <span class="octicon octicon-git-commit"></span> {{.i18n.Tr "explore.commits"}}
  9. </a>
  10. {{if .LoggedUser}}
  11. <a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubURL}}/explore/users">
  12. <span class="octicon octicon-person"></span> {{.i18n.Tr "explore.users"}}
  13. </a>
  14. <a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubURL}}/explore/organizations">
  15. <span class="octicon octicon-organization"></span> {{.i18n.Tr "explore.organizations"}}
  16. </a>
  17. {{end}}
  18. </div>
  19. </div>