From 42e785ee5ab72ea5af201ff45b289ee36a29e98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 27 Aug 2015 17:32:04 +0200 Subject: [PATCH] FIX: missed a couple of places where we should use the topic's fancy title --- app/assets/javascripts/admin/templates/flags-list.hbs | 2 +- .../discourse/templates/components/search-result-topic.hbs | 2 +- app/assets/javascripts/discourse/templates/full-page-search.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/admin/templates/flags-list.hbs b/app/assets/javascripts/admin/templates/flags-list.hbs index e001e92ae8d..67f4a2a87fd 100644 --- a/app/assets/javascripts/admin/templates/flags-list.hbs +++ b/app/assets/javascripts/admin/templates/flags-list.hbs @@ -32,7 +32,7 @@ {{fa-icon "envelope"}} {{/if}} {{topic-status topic=flaggedPost.topic}} - {{flaggedPost.topic.title}} + {{{flaggedPost.topic.fancyTitle}}} {{#if flaggedPost.postAuthorFlagged}} {{{flaggedPost.excerpt}}} diff --git a/app/assets/javascripts/discourse/templates/components/search-result-topic.hbs b/app/assets/javascripts/discourse/templates/components/search-result-topic.hbs index 0d80544fc0d..132e56360b3 100644 --- a/app/assets/javascripts/discourse/templates/components/search-result-topic.hbs +++ b/app/assets/javascripts/discourse/templates/components/search-result-topic.hbs @@ -2,7 +2,7 @@
  • - {{topic-status topic=result.topic disableActions=true}}{{unbound result.topic.fancyTitle}}{{category-badge result.topic.category}}{{plugin-outlet "search-category"}} + {{topic-status topic=result.topic disableActions=true}}{{{unbound result.topic.fancyTitle}}}{{category-badge result.topic.category}}{{plugin-outlet "search-category"}} {{#unless site.mobileView}} diff --git a/app/assets/javascripts/discourse/templates/full-page-search.hbs b/app/assets/javascripts/discourse/templates/full-page-search.hbs index 7ece854650f..832e68148e8 100644 --- a/app/assets/javascripts/discourse/templates/full-page-search.hbs +++ b/app/assets/javascripts/discourse/templates/full-page-search.hbs @@ -25,7 +25,7 @@ {{/if}} {{avatar result imageSize="tiny"}} - {{topic-status topic=result.topic disableActions=true}}{{unbound result.topic.title}} + {{topic-status topic=result.topic disableActions=true}}{{{unbound result.topic.fancyTitle}}}
    {{category-link result.topic.category}}