From a6f911b9078bc702bd751f3904ce417acae7ab31 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 27 Apr 2021 12:01:53 +0200 Subject: [PATCH] DEV: apply ember-template-lint fixes (#126) --- .../category-custom-settings/solved-settings.hbs | 6 +++--- .../connectors/topic-after-cooked/solved-panel.hbs | 6 +++--- .../connectors/user-activity-bottom/solved-list.hbs | 4 ++-- .../connectors/user-summary-stat/solved-count.hbs | 8 ++++++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/assets/javascripts/discourse/connectors/category-custom-settings/solved-settings.hbs b/assets/javascripts/discourse/connectors/category-custom-settings/solved-settings.hbs index 51bcda7..4efa3e6 100644 --- a/assets/javascripts/discourse/connectors/category-custom-settings/solved-settings.hbs +++ b/assets/javascripts/discourse/connectors/category-custom-settings/solved-settings.hbs @@ -1,6 +1,6 @@ {{#unless siteSettings.allow_solved_on_all_topics}} -

{{i18n 'solved.title'}}

-
+

{{i18n "solved.title"}}

+
diff --git a/assets/javascripts/discourse/connectors/topic-after-cooked/solved-panel.hbs b/assets/javascripts/discourse/connectors/topic-after-cooked/solved-panel.hbs index 168f0f6..7aa01d7 100644 --- a/assets/javascripts/discourse/connectors/topic-after-cooked/solved-panel.hbs +++ b/assets/javascripts/discourse/connectors/topic-after-cooked/solved-panel.hbs @@ -1,5 +1,5 @@ {{#if topic.accepted_answer}} -

-{{{topic.acceptedAnswerHtml}}} -

+

+ {{html-safe topic.acceptedAnswerHtml}} +

{{/if}} diff --git a/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs b/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs index fc315b1..f4fc8f6 100644 --- a/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs +++ b/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs @@ -1,3 +1,3 @@ -{{#link-to 'userActivity.solved'}} - {{d-icon 'check-square'}} {{i18n 'solved.title'}} +{{#link-to "userActivity.solved"}} + {{d-icon "check-square"}} {{i18n "solved.title"}} {{/link-to}} diff --git a/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.hbs b/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.hbs index ee330d5..cad2b11 100644 --- a/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.hbs +++ b/assets/javascripts/discourse/connectors/user-summary-stat/solved-count.hbs @@ -1,3 +1,7 @@ -{{#link-to 'userActivity.solved'}} - {{user-stat value=model.solved_count label="solved.solution_summary" icon="check-square"}} +{{#link-to "userActivity.solved"}} + {{user-stat + value=model.solved_count + label="solved.solution_summary" + icon="check-square" + }} {{/link-to}}