summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-08 13:02:55 -0700
committerUnknwon <u@gogs.io>2016-08-08 13:02:55 -0700
commit90af997fecb36e5cd1863f5d724a9df7a0a04118 (patch)
treed3dbe5e8e20e33492df8f2fcae17573f10f63bb9 /templates/repo
parentb73318bc62941b58064fca02b67d589718309155 (diff)
downloadgitea-90af997fecb36e5cd1863f5d724a9df7a0a04118.tar.gz
gitea-90af997fecb36e5cd1863f5d724a9df7a0a04118.zip
#3399 500 for upstream pulls page if user has forked repository
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/issue/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 5d4ed4fe51..f4208cd868 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -8,7 +8,7 @@
{{if .PageIsIssueList}}
<a class="ui green button" href="{{.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
{{else}}
- <a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{if not .PullRequestCtx.Allowed}}#{{else}}{{.PullRequestCtx.BaseRepo.Link}}/compare/{{.Repository.DefaultBranch}}...{{.PullRequestCtx.HeadInfo}}{{end}}">{{.i18n.Tr "repo.pulls.new"}}</a>
+ <a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{if .PullRequestCtx.Allowed}}{{.PullRequestCtx.BaseRepo.Link}}/compare/{{.Repository.DefaultBranch}}...{{.PullRequestCtx.HeadInfo}}{{end}}">{{.i18n.Tr "repo.pulls.new"}}</a>
{{end}}
</div>
</div>