From 55b4e77a5e9376a8a105d59a721fda3888e555bf Mon Sep 17 00:00:00 2001 From: Okunev Yu Dmitry Date: Fri, 29 Jul 2016 17:59:38 +0300 Subject: [PATCH] Fix of template error in "/:owner/:repo/pulls" (#3343) If anonymous (not signed in user) requests page "/:owner/:repo/pulls" he gets an error: template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link This commit fixes that. Signed-off-by: Dmitry Yu Okunev --- templates/repo/issue/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 6db997cafc..eebb0b15b0 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -8,7 +8,7 @@ {{if .PageIsIssueList}} {{.i18n.Tr "repo.issues.new"}} {{else}} - {{.i18n.Tr "repo.pulls.new"}} + {{.i18n.Tr "repo.pulls.new"}} {{end}}