From 1983f0d06e4163841f889962dfc2be04f0047b26 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 10 Jul 2019 22:38:32 -0400 Subject: [PATCH] Don't load PM icon in title unless topic is a PM --- app/assets/javascripts/discourse/templates/topic.hbs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/topic.hbs b/app/assets/javascripts/discourse/templates/topic.hbs index 1673cb3c1b6..0c3201057ac 100644 --- a/app/assets/javascripts/discourse/templates/topic.hbs +++ b/app/assets/javascripts/discourse/templates/topic.hbs @@ -53,11 +53,15 @@

{{#unless model.is_warning}} {{#if siteSettings.enable_personal_messages}} - - {{d-icon "envelope"}} - + {{#if model.isPrivateMessage}} + + {{d-icon "envelope"}} + + {{/if}} {{else}} - {{d-icon "envelope"}} + {{#if model.isPrivateMessage}} + {{d-icon "envelope"}} + {{/if}} {{/if}} {{/unless}}