summaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-15 18:29:41 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-15 18:29:41 +0800
commit36b4c57ff13198196134b853f624fb633061734d (patch)
treee973d2aad41823e50c951a08ec8742030141d675 /templates/org/header.tmpl
parent3e32b14ad4da2db1b05eeec73936dbbe79cecc45 (diff)
downloadgitea-36b4c57ff13198196134b853f624fb633061734d.tar.gz
gitea-36b4c57ff13198196134b853f624fb633061734d.zip
Finish new organization members and invitation page
Diffstat (limited to 'templates/org/header.tmpl')
-rw-r--r--templates/org/header.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl
new file mode 100644
index 0000000000..8566d0a3c5
--- /dev/null
+++ b/templates/org/header.tmpl
@@ -0,0 +1,16 @@
+<div class="org-header" id="org-header">
+ <div class="container">
+ <a class="text-black left" href="/org/{{.Org.LowerName}}">
+ <img class="avatar-48 left" src="{{.Org.AvatarLink}}?s=100">
+ <span class="org-name">{{.Org.FullName}}</span>
+ </a>
+ <ul class="menu menu-line container">
+ <li class="right">
+ <a {{if .PageIsOrgTeams}}class="current"{{end}} href="{{.OrgLink}}/teams"><i class="octicon octicon-jersey"></i> {{.i18n.Tr "org.teams"}} <span class="label label-gray label-radius">{{.Org.NumTeams}}</span></a>
+ </li>
+ <li class="right">
+ <a {{if .PageIsOrgMembers}}class="current"{{end}} href="{{.OrgLink}}/members"><i class="octicon octicon-organization"></i> {{.i18n.Tr "org.people"}} <span class="label label-gray label-radius">{{.Org.NumMembers}}</span></a>
+ </li>
+ </ul>
+ </div>
+</div> \ No newline at end of file