diff --git a/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs b/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs index bf4da6d19dd..6f8e3bce36a 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs @@ -5,14 +5,8 @@ @headerActions={{this.section.headerActions}} @headerActionsIcon={{this.section.headerActionIcon}} @class={{this.section.dragCss}} + @sectionDescription={{this.section.description}} > - - {{#if this.section.displayShortSiteDescription}} - - {{this.siteSettings.short_site_description}} - - {{/if}} - {{#each this.section.links as |link|}} {{#if link.shouldDisplay}} {{#if link.external}} diff --git a/app/assets/javascripts/discourse/app/components/sidebar/section.hbs b/app/assets/javascripts/discourse/app/components/sidebar/section.hbs index 2f3baf8ebde..570b4415196 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/section.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/section.hbs @@ -44,6 +44,12 @@ {{/if}} + {{#if @sectionDescription}} + + {{@sectionDescription}} + + {{/if}} + {{#if this.displaySectionContent}}