1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 19:48:19 +00:00

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>
This commit is contained in:
Yarden Shoham
2022-12-05 14:38:34 +02:00
committed by GitHub
parent a08584ee36
commit 77f50356f4
12 changed files with 0 additions and 12 deletions

View File

@@ -134,7 +134,6 @@
<div class="field">
{{if .PageIsOrgTeamsNew}}
<button class="ui green button">{{.locale.Tr "org.create_team"}}</button>
<a class="ui button" href="{{.OrgLink}}/teams">{{.locale.Tr "cancel"}}</a>
{{else}}
<button class="ui green button">{{.locale.Tr "org.teams.update_settings"}}</button>
{{if not (eq .Team.LowerName "owners")}}