DEV: apply ember-template-lint fixes (#126)
This commit is contained in:
parent
d3496ddae5
commit
a6f911b907
|
@ -1,6 +1,6 @@
|
|||
{{#unless siteSettings.allow_solved_on_all_topics}}
|
||||
<h3>{{i18n 'solved.title'}}</h3>
|
||||
<section class='field'>
|
||||
<h3>{{i18n "solved.title"}}</h3>
|
||||
<section class="field">
|
||||
<div class="enable-accepted-answer">
|
||||
<label class="checkbox-label">
|
||||
{{input
|
||||
|
@ -8,7 +8,7 @@
|
|||
checked=(readonly category.enable_accepted_answers)
|
||||
change=(action "onChangeSetting" value="target.checked")
|
||||
}}
|
||||
{{i18n 'solved.allow_accepted_answers'}}
|
||||
{{i18n "solved.allow_accepted_answers"}}
|
||||
</label>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{#if topic.accepted_answer}}
|
||||
<p class="solved">
|
||||
{{{topic.acceptedAnswerHtml}}}
|
||||
{{html-safe topic.acceptedAnswerHtml}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue