Browse Source

Put if statement of grey merge commits on one line

tags/v1.2.0-rc1
Steven Oud 9 years ago
parent
commit
3aaa028453
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      templates/repo/commits_table.tmpl

+ 2
- 5
templates/repo/commits_table.tmpl View File

@@ -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>


Loading…
Cancel
Save