diff options
author | Yarden Shoham <hrsi88@gmail.com> | 2022-12-05 14:38:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 20:38:34 +0800 |
commit | 77f50356f4dd108b1e35b1a706269573aeaf98f1 (patch) | |
tree | 3fadb07b2f3d3a0dc4407496fcfb802b961f82f2 /templates/org/team/new.tmpl | |
parent | a08584ee367d42de56c5ba6a0fd36ac1067578dd (diff) | |
download | gitea-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/org/team/new.tmpl')
-rw-r--r-- | templates/org/team/new.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index e5266f13c5..f6786f3d8d 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -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")}} |