summaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_table.tmpl
diff options
context:
space:
mode:
authorSteven Oud <soud@protonmail.com>2016-03-05 17:59:07 +0100
committerSteven Oud <soud@protonmail.com>2016-03-05 17:59:07 +0100
commit1d3ec27cb74b9a94a9c337fea633302e3e3e2ff8 (patch)
treee7e20ddad27ef6a8f02d2e0a3d8cb624a7f2181f /templates/repo/commits_table.tmpl
parenta0cd59bd0e3fe1e67314c0562274778802d3383d (diff)
downloadgitea-1d3ec27cb74b9a94a9c337fea633302e3e3e2ff8.tar.gz
gitea-1d3ec27cb74b9a94a9c337fea633302e3e3e2ff8.zip
Put if statement of grey merge commits on one line
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r--templates/repo/commits_table.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index c1ec61ba6e..965a401089 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -36,11 +36,8 @@
{{end}}
</td>
- {{if gt .ParentCount 1}}
- <td class="message collapsing has-emoji grey text">
- {{else}}
- <td class="message collapsing has-emoji">
- {{end}}
+
+ <td class="message collapsing has-emoji {{if gt .ParentCount 1}} grey text {{end}}">
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}
</td>