fix merge box icon color bug (#10974)

that because need some space beturn ``text`` and color defines

Signed-off-by: a1012112796 <1012112796@qq.com>
tokarchuk/v1.17
赵智超 5 years ago committed by GitHub
parent 686850e21f
commit 9814dd68ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      templates/repo/issue/view_content/pull.tmpl

@ -39,8 +39,7 @@
</div>
{{end}}
<div class="comment merge box">
<a class="avatar text
{{- if .Issue.PullRequest.HasMerged}}purple
<a class="avatar text {{if .Issue.PullRequest.HasMerged}}purple
{{- else if .Issue.IsClosed}}grey
{{- else if .IsPullWorkInProgress}}grey
{{- else if .IsFilesConflicted}}grey

Loading…
Cancel
Save