From f43cc908411a62c9252eb42484e5096810272369 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 11 Jan 2016 20:41:43 +0800 Subject: #2287 Truncate repository name if too long --- templates/.VERSION | 2 +- templates/explore/repo_list.tmpl | 2 +- templates/user/dashboard/dashboard.tmpl | 18 ++++++++++-------- templates/user/dashboard/feeds.tmpl | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/.VERSION b/templates/.VERSION index f1eb383c3e..4295f9db1e 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.8.19.0111 \ No newline at end of file +0.8.20.0111 \ No newline at end of file diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index a674bcc90a..f8dff62869 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -2,7 +2,7 @@ {{range .Repos}}
- {{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}} + {{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}} {{if .IsPrivate}} {{else if .IsFork}} diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index 86936efa68..109b0bbe7d 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -22,12 +22,12 @@