1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 0 additions and 12 deletions

View file

@ -48,7 +48,6 @@
<button class="ui green button">
{{.locale.Tr "org.create_org"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

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")}}

View file

@ -107,7 +107,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -81,7 +81,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -123,7 +123,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -119,7 +119,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -121,7 +121,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -118,7 +118,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -121,7 +121,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -107,7 +107,6 @@
<button class="ui green button">
{{.locale.Tr "repo.migrate_repo"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>

View file

@ -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>

View file

@ -60,7 +60,6 @@
<button class="ui green button">
{{.locale.Tr "repo.projects.create"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>
</div>
</form>