diff options
author | Unknwon <u@gogs.io> | 2015-12-19 22:07:06 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-19 22:07:06 -0500 |
commit | 5ff6eedf5edaae0748aa0a80d682a441bbbb556d (patch) | |
tree | cc1d697559e8addb699173d28f2b1530df5d430b /templates/repo/pulls/files.tmpl | |
parent | 53eb37d5292942e8f6d667f9a6fb9d35455d2967 (diff) | |
download | gitea-5ff6eedf5edaae0748aa0a80d682a441bbbb556d.tar.gz gitea-5ff6eedf5edaae0748aa0a80d682a441bbbb556d.zip |
#2251 fix button name
Diffstat (limited to 'templates/repo/pulls/files.tmpl')
-rw-r--r-- | templates/repo/pulls/files.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/pulls/files.tmpl b/templates/repo/pulls/files.tmpl index 9070112e53..14ef29037b 100644 --- a/templates/repo/pulls/files.tmpl +++ b/templates/repo/pulls/files.tmpl @@ -5,7 +5,7 @@ <div class="navbar"> {{template "repo/issue/navbar" .}} <div class="ui right"> - <a class="ui green button" href="{{$.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a> + <a class="ui green button {{if not .HasForkedRepo}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName}}...{{.SignedUserName}}:{{.BranchName}}">{{.i18n.Tr "repo.pulls.new"}}</a> </div> </div> <div class="ui divider"></div> |