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>
master
赵智超 GitHub 5 years ago
parent
commit
9814dd68ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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