header.tmpl 935 B

123456789101112131415161718192021222324252627
  1. {{with .Org}}
  2. <div class="ui container">
  3. <div class="ui vertically grid head">
  4. <div class="column">
  5. <div class="ui header">
  6. <img class="ui image" src="{{.AvatarLink}}?s=100">
  7. <span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName}}</a></span>
  8. <div class="ui right">
  9. <div class="ui menu">
  10. <a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">
  11. <i class="octicon octicon-organization"></i>&nbsp;{{$.i18n.Tr "org.people"}}
  12. <div class="floating ui black label">{{.NumMembers}}</div>
  13. </a>
  14. <a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
  15. <i class="octicon octicon-jersey"></i>&nbsp;{{$.i18n.Tr "org.teams"}}
  16. <div class="floating ui black label">{{.NumTeams}}</div>
  17. </a>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="ui divider"></div>
  25. {{end}}