Browse Source

fix merge box icon color bug (#10974)

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

Signed-off-by: a101211279 <1012112796@qq.com>
tags/v1.13.0-dev
赵智超 4 years ago
parent
commit
9814dd68ad
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      templates/repo/issue/view_content/pull.tmpl

+ 1
- 2
templates/repo/issue/view_content/pull.tmpl View File

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