Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless "Cancel" buttons #21872

Merged
merged 18 commits into from Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion templates/org/create.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/org/team/new.tmpl
Expand Up @@ -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")}}
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/codebase.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/git.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/gitbucket.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/gitea.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/github.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/gitlab.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/gogs.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/migrate/onedev.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/repo/pulls/fork.tmpl
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion templates/user/project.tmpl
Expand Up @@ -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>
Expand Down