diff options
author | Unknwon <u@gogs.io> | 2016-01-11 20:41:43 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-11 20:41:43 +0800 |
commit | f43cc908411a62c9252eb42484e5096810272369 (patch) | |
tree | 32220fed52d2f9c416dd94d26ebaf267caebca23 /templates/explore | |
parent | a2ef9a2b648422610a7f2cc6211e1f7a9549575f (diff) | |
download | gitea-f43cc908411a62c9252eb42484e5096810272369.tar.gz gitea-f43cc908411a62c9252eb42484e5096810272369.zip |
#2287 Truncate repository name if too long
Diffstat (limited to 'templates/explore')
-rw-r--r-- | templates/explore/repo_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
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}} <div class="item"> <div class="ui header"> - <a href="{{AppSubUrl}}/{{if .Owner}}{{.Owner.Name}}{{else if $.Org}}{{$.Org.Name}}{{else}}{{$.Owner.Name}}{{end}}/{{.Name}}">{{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}}</a> + <a class="name" href="{{AppSubUrl}}/{{if .Owner}}{{.Owner.Name}}{{else if $.Org}}{{$.Org.Name}}{{else}}{{$.Owner.Name}}{{end}}/{{.Name}}">{{if $.PageIsExplore}}{{.Owner.Name}} / {{end}}{{.Name}}</a> {{if .IsPrivate}} <span class="text gold"><i class="icon octicon octicon-lock"></i></span> {{else if .IsFork}} |