diff options
author | harry <harryzhxu@gmail.com> | 2017-11-04 13:46:34 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-11-04 13:46:34 +0800 |
commit | 93f726352caa88aefadfd3a9d1ff0614f694a723 (patch) | |
tree | 4e02aafe0812d03e0344286c234da4d217c89c2a /templates/org/home.tmpl | |
parent | dcb009aa864e5b1e65331138b77ec491b04309f8 (diff) | |
download | gitea-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.tmpl | 5 |
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> |