aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-26 21:45:51 +0800
committerUnknwon <u@gogs.io>2015-08-26 21:45:51 +0800
commit28814564212b7c64136cc3eda3774af56983557e (patch)
treec0ea1c8ecb6504241a1d2b4111075ee2b0905470 /templates/org/header.tmpl
parent1cb03135b745675e614b0b89ab3fde412276fec1 (diff)
downloadgitea-28814564212b7c64136cc3eda3774af56983557e.tar.gz
gitea-28814564212b7c64136cc3eda3774af56983557e.zip
new webhooks list UI
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