ui: remove useless "Cancel" buttons (#7192)

Co-authored-by: Joe Chen <jc@unknwon.io>
pull/7202/head
Yarden Shoham 2022-10-22 18:00:42 +03:00 committed by GitHub
parent 11edc09681
commit a7299bbb8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 5 deletions

View File

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

View File

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

View File

@ -115,7 +115,6 @@
<button class="ui green button">
{{.i18n.Tr "repo.create_repo"}}
</button>
<a class="ui button" href="{{AppSubURL}}/">{{.i18n.Tr "cancel"}}</a>
</div>
</div>
</form>

View File

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

View File

@ -68,7 +68,6 @@
<button class="ui green button">
{{.i18n.Tr "repo.fork_repo"}}
</button>
<a class="ui button" href="{{AppSubURL}}/{{.ForkFrom}}">{{.i18n.Tr "cancel"}}</a>
</div>
</div>
</form>