From 7b6e32c2388efca2964e27c51d574c70a5bd6842 Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 19 Oct 2023 12:20:03 -0400 Subject: [PATCH] UX: move global option to sidebar modal footer, shorten translation (#24024) --- .../components/modal/sidebar-section-form.hbs | 50 +++++++++---------- .../stylesheets/common/base/sidebar.scss | 40 +++++++++------ config/locales/client.en.yml | 2 +- 3 files changed, 51 insertions(+), 41 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.hbs b/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.hbs index 7016b68ce20..4d9e3633913 100644 --- a/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.hbs +++ b/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.hbs @@ -82,34 +82,8 @@ class="btn-flat btn-text add-link" /> {{/if}} - - {{#if (and this.currentUser.admin)}} -
- -
- {{/if}} - <:footer> + {{#if (and this.currentUser.admin)}} +
+ +
+ {{/if}} {{#if this.canDelete}}