aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-11 17:57:44 -0500
committerUnknwon <u@gogs.io>2016-03-11 17:57:44 -0500
commitc6277cce51af5dab9f61fb26ed4a543591823034 (patch)
tree80d06cecf3cda7fc67cab79e15a4bda5a5aa19d6
parent6530375dbf919c401ad7be6b733884347148afbb (diff)
downloadgitea-c6277cce51af5dab9f61fb26ed4a543591823034.tar.gz
gitea-c6277cce51af5dab9f61fb26ed4a543591823034.zip
Minor fixes for #2761
-rw-r--r--templates/repo/commits_table.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index 965a401089..8b22228d07 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -36,10 +36,9 @@
{{end}}
</td>
-
- <td class="message collapsing has-emoji {{if gt .ParentCount 1}} grey text {{end}}">
+ <td class="message collapsing has-emoji">
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
- {{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}
+ <span {{if gt .ParentCount 1}}class="grey text"{{end}}>{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}</span>
</td>
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>
</tr>