]> source.dussan.org Git - gitea.git/commitdiff
Link members and repositories count to each page on org home. (#2787)
authorharry <harryzhxu@gmail.com>
Sat, 4 Nov 2017 05:46:34 +0000 (13:46 +0800)
committerLunny Xiao <xiaolunwen@gmail.com>
Sat, 4 Nov 2017 05:46:34 +0000 (13:46 +0800)
templates/org/home.tmpl

index 18782e3981bf2d79b5d1cacab4466fb885d876c1..60749e9eb987f8db6c7d2f65d5b5472f24b5f627 100644 (file)
                                                {{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>