summaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-01-11 20:41:43 +0800
committerUnknwon <u@gogs.io>2016-01-11 20:41:43 +0800
commitf43cc908411a62c9252eb42484e5096810272369 (patch)
tree32220fed52d2f9c416dd94d26ebaf267caebca23 /templates/explore
parenta2ef9a2b648422610a7f2cc6211e1f7a9549575f (diff)
downloadgitea-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.tmpl2
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}}