Don't load PM icon in title unless topic is a PM
This commit is contained in:
parent
b848bd4ddc
commit
1983f0d06e
|
@ -53,11 +53,15 @@
|
|||
<h1 data-topic-id="{{unbound model.id}}">
|
||||
{{#unless model.is_warning}}
|
||||
{{#if siteSettings.enable_personal_messages}}
|
||||
<a href={{pmPath}}>
|
||||
<span class="private-message-glyph">{{d-icon "envelope"}}</span>
|
||||
</a>
|
||||
{{#if model.isPrivateMessage}}
|
||||
<a href={{pmPath}}>
|
||||
<span class="private-message-glyph">{{d-icon "envelope"}}</span>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<span class="private-message-glyph">{{d-icon "envelope"}}</span>
|
||||
{{#if model.isPrivateMessage}}
|
||||
<span class="private-message-glyph">{{d-icon "envelope"}}</span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue