mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:22:36 +08:00
UX: envelope glyph for suggested PMs
This commit is contained in:
parent
b0d2e69cc3
commit
6478f5defa
|
@ -110,7 +110,7 @@
|
|||
|
||||
{{#if model.details.suggested_topics.length}}
|
||||
<div id="suggested-topics">
|
||||
<h3>{{unbound view.suggestedTitle}}</h3>
|
||||
<h3>{{{unbound view.suggestedTitle}}}</h3>
|
||||
<div class="topics">
|
||||
{{#if model.isPrivateMessage}}
|
||||
{{basic-topic-list
|
||||
|
|
|
@ -167,7 +167,7 @@ const TopicView = Ember.View.extend(AddCategoryClass, AddArchetypeClass, Scrolli
|
|||
|
||||
suggestedTitle: function(){
|
||||
return this.get('controller.model.isPrivateMessage') ?
|
||||
I18n.t("suggested_topics.pm_title") :
|
||||
"<i class='private-message-glyph fa fa-envelope'></i> " + I18n.t("suggested_topics.pm_title") :
|
||||
I18n.t("suggested_topics.title");
|
||||
}.property()
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user