From a7299bbb8d8b363f3d828e04e060921aa0c31d93 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Sat, 22 Oct 2022 18:00:42 +0300 Subject: [PATCH] ui: remove useless "Cancel" buttons (#7192) Co-authored-by: Joe Chen --- templates/org/create.tmpl | 1 - templates/org/team/new.tmpl | 1 - templates/repo/create.tmpl | 1 - templates/repo/migrate.tmpl | 1 - templates/repo/pulls/fork.tmpl | 1 - 5 files changed, 5 deletions(-) diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl index af70e4416..67dc68fdb 100644 --- a/templates/org/create.tmpl +++ b/templates/org/create.tmpl @@ -20,7 +20,6 @@ - {{.i18n.Tr "cancel"}} diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index e3e99d813..05d415a0a 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -55,7 +55,6 @@
{{if .PageIsOrgTeamsNew}} - {{.i18n.Tr "cancel"}} {{else}} {{if not (eq .Team.LowerName "owners")}} diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index c58b53777..0099d097c 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -115,7 +115,6 @@ - {{.i18n.Tr "cancel"}}
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl index ad70ae35a..614f5d20f 100644 --- a/templates/repo/migrate.tmpl +++ b/templates/repo/migrate.tmpl @@ -104,7 +104,6 @@ - {{.i18n.Tr "cancel"}} diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index 7cde72b02..a2beab968 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -68,7 +68,6 @@ - {{.i18n.Tr "cancel"}}