summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-24 20:43:45 -0500
committerUnknwon <u@gogs.io>2015-12-24 20:43:45 -0500
commit13fe73303726d74356a5d94bad7556802c2900a4 (patch)
tree6012f122cfc0abdf3f91ba25b8bce4a6bb1aa666 /templates/user/dashboard
parent4c896bb6202d1bcf5db03b57018bd40d84d4e1ea (diff)
downloadgitea-13fe73303726d74356a5d94bad7556802c2900a4.tar.gz
gitea-13fe73303726d74356a5d94bad7556802c2900a4.zip
#2264 use monospaced font for commit IDs in news feeds
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/feeds.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl
index 5fb1df4125..9228fab661 100644
--- a/templates/user/dashboard/feeds.tmpl
+++ b/templates/user/dashboard/feeds.tmpl
@@ -40,7 +40,7 @@
{{ $repoLink := .GetRepoLink}}
{{if $push.Commits}}
{{range $push.Commits}}
- <li><img class="img-8" src="{{$push.AvatarLink .AuthorEmail}}"> <a href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text truncate light grey">{{.Message}}</span></li>
+ <li><img class="img-8" src="{{$push.AvatarLink .AuthorEmail}}"> <a class="commit-id" href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text truncate light grey">{{.Message}}</span></li>
{{end}}
{{end}}
{{if and (gt $push.Len 1) $push.CompareUrl}}<li><a href="{{AppSubUrl}}/{{$push.CompareUrl}}">{{$.i18n.Tr "action.compare_commits" $push.Len}} ยป</a></li>{{end}}