summaryrefslogtreecommitdiffstats
path: root/templates/repo/pulls
diff options
context:
space:
mode:
authorYarden Shoham <hrsi88@gmail.com>2022-12-05 14:38:34 +0200
committerGitHub <noreply@github.com>2022-12-05 20:38:34 +0800
commit77f50356f4dd108b1e35b1a706269573aeaf98f1 (patch)
tree3fadb07b2f3d3a0dc4407496fcfb802b961f82f2 /templates/repo/pulls
parenta08584ee367d42de56c5ba6a0fd36ac1067578dd (diff)
downloadgitea-77f50356f4dd108b1e35b1a706269573aeaf98f1.tar.gz
gitea-77f50356f4dd108b1e35b1a706269573aeaf98f1.zip
Remove useless "Cancel" buttons (#21872)
* Continues #21381 These buttons have no real use. To cancel, one would simply navigate away. Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Diffstat (limited to 'templates/repo/pulls')
-rw-r--r--templates/repo/pulls/fork.tmpl1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl
index 0172e1b708..28ba8e2e25 100644
--- a/templates/repo/pulls/fork.tmpl
+++ b/templates/repo/pulls/fork.tmpl
@@ -61,7 +61,6 @@
<button class="ui green button">
{{.locale.Tr "repo.fork_repo"}}
</button>
- <a class="ui button" href="{{.ForkRepo.Link}}">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>