summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorJulien Tant <julien@craftyx.fr>2018-08-01 05:00:35 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2018-08-01 11:00:35 +0800
commitced08d18a40b71cf4a290d9795280c2ef79e168f (patch)
tree3af4f03b5f15f67c900e0d8e46fad136819bb368 /templates/repo/issue
parentd57233680b71925f3812be885df479bb98cddf9c (diff)
downloadgitea-ced08d18a40b71cf4a290d9795280c2ef79e168f.tar.gz
gitea-ced08d18a40b71cf4a290d9795280c2ef79e168f.zip
fix IsPullReuqestBroken->IsPullRequestBroken (#4578)
Signed-off-by: Julien Tant <julien@craftyx.fr>
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/view_content/pull.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl
index d4bf5a3277..9c9dd290a3 100644
--- a/templates/repo/issue/view_content/pull.tmpl
+++ b/templates/repo/issue/view_content/pull.tmpl
@@ -2,7 +2,7 @@
<a class="avatar text
{{if .Issue.PullRequest.HasMerged}}purple
{{else if .Issue.IsClosed}}grey
- {{else if .IsPullReuqestBroken}}red
+ {{else if .IsPullRequestBroken}}red
{{else if .Issue.PullRequest.IsChecking}}yellow
{{else if .Issue.PullRequest.CanAutoMerge}}green
{{else}}red{{end}}"><span class="mega-octicon octicon-git-merge"></span></a>
@@ -22,7 +22,7 @@
<div class="item text grey">
{{$.i18n.Tr "repo.pulls.reopen_to_merge"}}
</div>
- {{else if .IsPullReuqestBroken}}
+ {{else if .IsPullRequestBroken}}
<div class="item text red">
<span class="octicon octicon-x"></span>
{{$.i18n.Tr "repo.pulls.data_broken"}}