Browse Source

fix merge box icon color bug (#10974)

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

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

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