summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/dashboard.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/dashboard/dashboard.tmpl')
-rw-r--r--templates/user/dashboard/dashboard.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index f04cd6af3b..d234397269 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -37,12 +37,17 @@
</a>
</li>
{{end}}
+ {{if gt .ContextUser.NumRepos .MaxShowRepoNum}}
+ <li>
+ <a href="{{.ContextUser.HomeLink}}">{{.i18n.Tr "home.show_more_repos"}}</a>
+ </li>
+ {{end}}
</ul>
</div>
{{if not .ContextUser.IsOrganization}}
<h4 class="ui top attached header">
- {{.i18n.Tr "home.collaborative_repos"}} <span class="ui grey label">{{.CollaborateCount}}</span>
+ {{.i18n.Tr "home.collaborative_repos"}}
</h4>
<div class="ui attached table segment">
<ul id="collaborative-repo-list">