FIX: Hide heading when there's no custom description (#28470)

In the new /about page, when there's no extended description provided by the admin, the "About" heading above the description should not be displayed.
This commit is contained in:
Osama Sayegh
2024-08-22 13:47:19 +03:00
committed by GitHub
parent f11f2b983f
commit 6997b3c5ce

View File

@@ -218,8 +218,11 @@ export default class AboutPage extends Component {
</span>
{{/each}}
</div>
<h3>{{i18n "about.simple_title"}}</h3>
<div>{{htmlSafe @model.extended_site_description}}</div>
{{#if @model.extended_site_description}}
<h3>{{i18n "about.simple_title"}}</h3>
<div>{{htmlSafe @model.extended_site_description}}</div>
{{/if}}
{{#if @model.admins.length}}
<section class="about__admins">