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}}
|
{{#unless siteSettings.allow_solved_on_all_topics}}
|
||||||
<h3>{{i18n 'solved.title'}}</h3>
|
<h3>{{i18n "solved.title"}}</h3>
|
||||||
<section class='field'>
|
<section class="field">
|
||||||
<div class="enable-accepted-answer">
|
<div class="enable-accepted-answer">
|
||||||
<label class="checkbox-label">
|
<label class="checkbox-label">
|
||||||
{{input
|
{{input
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
checked=(readonly category.enable_accepted_answers)
|
checked=(readonly category.enable_accepted_answers)
|
||||||
change=(action "onChangeSetting" value="target.checked")
|
change=(action "onChangeSetting" value="target.checked")
|
||||||
}}
|
}}
|
||||||
{{i18n 'solved.allow_accepted_answers'}}
|
{{i18n "solved.allow_accepted_answers"}}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{#if topic.accepted_answer}}
|
{{#if topic.accepted_answer}}
|
||||||
<p class="solved">
|
<p class="solved">
|
||||||
{{{topic.acceptedAnswerHtml}}}
|
{{html-safe topic.acceptedAnswerHtml}}
|
||||||
</p>
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{{#link-to 'userActivity.solved'}}
|
{{#link-to "userActivity.solved"}}
|
||||||
{{d-icon 'check-square'}} {{i18n 'solved.title'}}
|
{{d-icon "check-square"}} {{i18n "solved.title"}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
{{#link-to 'userActivity.solved'}}
|
{{#link-to "userActivity.solved"}}
|
||||||
{{user-stat value=model.solved_count label="solved.solution_summary" icon="check-square"}}
|
{{user-stat
|
||||||
|
value=model.solved_count
|
||||||
|
label="solved.solution_summary"
|
||||||
|
icon="check-square"
|
||||||
|
}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
|
|
Loading…
Reference in New Issue