summaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
authorharry <harryzhxu@gmail.com>2017-11-04 13:46:34 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-04 13:46:34 +0800
commit93f726352caa88aefadfd3a9d1ff0614f694a723 (patch)
tree4e02aafe0812d03e0344286c234da4d217c89c2a /templates/org/home.tmpl
parentdcb009aa864e5b1e65331138b77ec491b04309f8 (diff)
downloadgitea-93f726352caa88aefadfd3a9d1ff0614f694a723.tar.gz
gitea-93f726352caa88aefadfd3a9d1ff0614f694a723.zip
Link members and repositories count to each page on org home. (#2787)
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 18782e3981..60749e9eb9 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -64,7 +64,10 @@
{{range .Teams}}
<div class="item">
<a href="{{$.OrgLink}}/teams/{{.LowerName}}"><strong class="team-name">{{.Name}}</strong></a>
- <p class="text grey">{{.NumMembers}} {{$.i18n.Tr "org.lower_members"}} · {{.NumRepos}} {{$.i18n.Tr "org.lower_repositories"}}</p>
+ <p class="text grey">
+ <a href="{{$.OrgLink}}/teams/{{.LowerName}}"><strong>{{.NumMembers}}</strong> {{$.i18n.Tr "org.lower_members"}}</a> ·
+ <a href="{{$.OrgLink}}/teams/{{.LowerName}}/repositories"><strong>{{.NumRepos}}</strong> {{$.i18n.Tr "org.lower_repositories"}}</a>
+ </p>
</div>
{{end}}
</div>