From 9814dd68addc0f1c8337557216fdee13a993c1ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=99=BA=E8=B6=85?= <1012112796@qq.com>
Date: Mon, 6 Apr 2020 01:01:12 +0800
Subject: [PATCH] fix merge box icon color bug (#10974)

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

Signed-off-by: a1012112796 <1012112796@qq.com>
---
 templates/repo/issue/view_content/pull.tmpl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl
index 3714e15cfe..c7cf737b34 100644
--- a/templates/repo/issue/view_content/pull.tmpl
+++ b/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