From 9941412c151cfca4bce44bd5a605ba30a708f8b9 Mon Sep 17 00:00:00 2001 From: Pablo Cabido Date: Mon, 11 Sep 2023 23:42:53 +0200 Subject: [PATCH 1/3] Updated deprecated remote modal and allowed to reset its configuration --- .../components/modal/update-pages-remote.hbs | 64 +++++++ .../modal/update-pages-remote.js.es6 | 129 ++++++++++++++ .../admin-plugins-landing-pages.js.es6 | 22 ++- .../controllers/update-pages-remote.js.es6 | 168 ------------------ .../templates/modal/update-pages-remote.hbs | 53 ------ config/locales/client.en.yml | 1 + 6 files changed, 204 insertions(+), 233 deletions(-) create mode 100644 assets/javascripts/discourse/components/modal/update-pages-remote.hbs create mode 100644 assets/javascripts/discourse/components/modal/update-pages-remote.js.es6 delete mode 100644 assets/javascripts/discourse/controllers/update-pages-remote.js.es6 delete mode 100644 assets/javascripts/discourse/templates/modal/update-pages-remote.hbs diff --git a/assets/javascripts/discourse/components/modal/update-pages-remote.hbs b/assets/javascripts/discourse/components/modal/update-pages-remote.hbs new file mode 100644 index 0000000..4a8795b --- /dev/null +++ b/assets/javascripts/discourse/components/modal/update-pages-remote.hbs @@ -0,0 +1,64 @@ + + <:body> +
+
{{i18n "admin.landing_pages.remote.url"}}
+ +
+ +
+
{{i18n "admin.customize.theme.remote_branch"}}
+ +
+ +
+ +
+ + {{#if showPublicKey}} +
+
{{i18n "admin.customize.theme.public_key"}}
+