From f3852c37ed1c715125657a30a4c46f2b4b98a8e4 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Mon, 28 Jun 2021 14:14:37 +0100 Subject: [PATCH] as per noerw Signed-off-by: Andrew Thornton --- templates/repo/migrate/migrating.tmpl | 34 +----------------- .../repo/settings/delete_repo_modal.tmpl | 33 +++++++++++++++++ templates/repo/settings/options.tmpl | 35 +------------------ 3 files changed, 35 insertions(+), 67 deletions(-) create mode 100644 templates/repo/settings/delete_repo_modal.tmpl diff --git a/templates/repo/migrate/migrating.tmpl b/templates/repo/migrate/migrating.tmpl index cc12243205c15..e951040b4e3e7 100644 --- a/templates/repo/migrate/migrating.tmpl +++ b/templates/repo/migrate/migrating.tmpl @@ -41,37 +41,5 @@ - +{{template "repo/settings/delete_repo_modal" .}} {{template "base/footer" .}} diff --git a/templates/repo/settings/delete_repo_modal.tmpl b/templates/repo/settings/delete_repo_modal.tmpl new file mode 100644 index 0000000000000..61ba3fb4e39cd --- /dev/null +++ b/templates/repo/settings/delete_repo_modal.tmpl @@ -0,0 +1,33 @@ + diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index eb76a3b720064..e0e231d00e2ac 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -761,40 +761,7 @@ - - + {{template "repo/settings/delete_repo_modal" .}} {{if .Repository.UnitEnabled $.UnitTypeWiki}}