Browse Source

Minor fixes for #2761

Unknwon 9 years ago
parent
commit
c6277cce51
1 changed files with 2 additions and 3 deletions
  1. 2 3
      templates/repo/commits_table.tmpl

+ 2 - 3
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>