From fc7959d3bc89b172b3e0f2d0c5fcdcbb09e2408e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 18 Oct 2015 19:30:39 -0400 Subject: New/reopen PR checks if there is any unmerged and open PR --- templates/repo/pulls/compare.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/repo') diff --git a/templates/repo/pulls/compare.tmpl b/templates/repo/pulls/compare.tmpl index d176ac36ab..c3851d8053 100644 --- a/templates/repo/pulls/compare.tmpl +++ b/templates/repo/pulls/compare.tmpl @@ -52,7 +52,7 @@ {{else if .HasPullRequest}}
- {{.i18n.Tr "repo.pulls.has_pull_request" $.RepoLink $.RepoRelPath .PullRequest.PullIndex | Safe}} + {{.i18n.Tr "repo.pulls.has_pull_request" $.RepoLink $.RepoRelPath .PullRequest.Index | Safe}}
{{else}} {{template "repo/issue/new_form" .}} -- cgit v1.2.3