aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/header.tmpl')
-rw-r--r--templates/org/header.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl
new file mode 100644
index 0000000000..7843441b6e
--- /dev/null
+++ b/templates/org/header.tmpl
@@ -0,0 +1,26 @@
+{{with .Org}}
+<div class="ui container">
+ <div class="ui vertically grid head">
+ <div class="column">
+ <div class="ui header">
+ <img class="ui image" src="{{.AvatarLink}}?s=100">
+ <span class="text thin grey"><a href="{{AppSubUrl}}/org/{{.Name}}">{{.DisplayName}}</a></span>
+
+ <div class="ui right">
+ <div class="ui menu">
+ <a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
+ <i class="octicon octicon-jersey"></i>&nbsp;{{$.i18n.Tr "org.teams"}}
+ <div class="floating ui black label">{{.NumTeams}}</div>
+ </a>
+ <a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">
+ <i class="octicon octicon-organization"></i>&nbsp;{{$.i18n.Tr "org.people"}}
+ <div class="floating ui black label">{{.NumMembers}}</div>
+ </a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+<div class="ui divider"></div>
+{{end}} \ No newline at end of file