mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:57:04 +08:00
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:
parent
f11f2b983f
commit
6997b3c5ce
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user