diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
commit | bba707de36d9bfbdb3001e3e89fac0c072aa14e9 (patch) | |
tree | 2b3ee7fc662baea04cecdf14b8a2758c108f83cc /templates/org/base | |
parent | 78add502d71dca43bb59ab9ad91745c64d0bf74d (diff) | |
download | gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.tar.gz gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.zip |
Finish team list, create new team, join/leave team page
Diffstat (limited to 'templates/org/base')
-rw-r--r-- | templates/org/base/header.tmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/org/base/header.tmpl b/templates/org/base/header.tmpl new file mode 100644 index 0000000000..8566d0a3c5 --- /dev/null +++ b/templates/org/base/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 |