diff --git a/assets/javascripts/discourse/adapters/connectors/category-custom-settings/show-event-category-sorting-settings.hbs b/assets/javascripts/discourse/adapters/connectors/category-custom-settings/show-event-category-sorting-settings.hbs index 16b244d6a..03c7f0e37 100644 --- a/assets/javascripts/discourse/adapters/connectors/category-custom-settings/show-event-category-sorting-settings.hbs +++ b/assets/javascripts/discourse/adapters/connectors/category-custom-settings/show-event-category-sorting-settings.hbs @@ -1,27 +1,38 @@ -
-

{{i18n "category.settings_sections.event_sorting"}}

+{{#if + (or + siteSettings.sort_categories_by_event_start_date_enabled + siteSettings.disable_resorting_on_categories_enabled + ) +}} +
+

{{i18n + "discourse_post_event.category.settings_sections.event_sorting" + }}

- {{#if siteSettings.sort_categories_by_event_start_date_enabled}} -
- -
- {{/if}} + {{#if siteSettings.sort_categories_by_event_start_date_enabled}} +
+ +
+ {{/if}} - {{#if siteSettings.disable_resorting_on_categories_enabled}} -
- -
- {{/if}} -
\ No newline at end of file + {{#if siteSettings.disable_resorting_on_categories_enabled}} +
+ +
+ {{/if}} +
+{{/if}} \ No newline at end of file