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> </div>
{{end}} {{end}}
<div class="comment merge box"> <div class="comment merge box">
<a class="avatar text <a class="avatar text {{if .Issue.PullRequest.HasMerged}}purple
{{- if .Issue.PullRequest.HasMerged}}purple
{{- else if .Issue.IsClosed}}grey {{- else if .Issue.IsClosed}}grey
{{- else if .IsPullWorkInProgress}}grey {{- else if .IsPullWorkInProgress}}grey
{{- else if .IsFilesConflicted}}grey {{- else if .IsFilesConflicted}}grey

Loading…
Cancel
Save