DEV: Use angle bracket syntax (#235)
This commit is contained in:
parent
29a991e60f
commit
daf2a823e2
|
@ -1,10 +1,10 @@
|
|||
{{#if siteSettings.solved_enabled}}
|
||||
{{combo-box
|
||||
class="solved-status-filter"
|
||||
content=statuses
|
||||
value=status
|
||||
valueProperty="value"
|
||||
onChange=(action "changeStatus")
|
||||
options=(hash caretDownIcon="caret-right" caretUpIcon="caret-down")
|
||||
}}
|
||||
<ComboBox
|
||||
@class="solved-status-filter"
|
||||
@content={{statuses}}
|
||||
@value={{status}}
|
||||
@valueProperty="value"
|
||||
@options={{hash caretDownIcon="caret-right" caretUpIcon="caret-down"}}
|
||||
@onChange={{(action "changeStatus")}}
|
||||
/>
|
||||
{{/if}}
|
|
@ -4,11 +4,11 @@
|
|||
<section class="field">
|
||||
<div class="enable-accepted-answer">
|
||||
<label class="checkbox-label">
|
||||
{{input
|
||||
type="checkbox"
|
||||
checked=(readonly category.enable_accepted_answers)
|
||||
change=(action "onChangeSetting" value="target.checked")
|
||||
}}
|
||||
<Input
|
||||
@type="checkbox"
|
||||
@checked={{readonly category.enable_accepted_answers}}
|
||||
{{on "change" (action "onChangeSetting" value="target.checked")}}
|
||||
/>
|
||||
{{i18n "solved.allow_accepted_answers"}}
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#if show}}
|
||||
{{#topic-navigation-popup popupId="solved-notice" dismissDuration=oneWeek}}
|
||||
<TopicNavigationPopup @popupId="solved-notice" @dismissDuration={{oneWeek}}>
|
||||
<h3>{{i18n "solved.no_answer.title"}}</h3>
|
||||
<p>{{i18n "solved.no_answer.description"}}</p>
|
||||
{{/topic-navigation-popup}}
|
||||
</TopicNavigationPopup>
|
||||
{{/if}}
|
|
@ -1,4 +1,4 @@
|
|||
{{#link-to "userActivity.solved"}}
|
||||
<LinkTo @route="userActivity.solved">
|
||||
{{d-icon "check-square"}}
|
||||
{{i18n "solved.title"}}
|
||||
{{/link-to}}
|
||||
</LinkTo>
|
|
@ -1,7 +1,7 @@
|
|||
{{#link-to "userActivity.solved"}}
|
||||
{{user-stat
|
||||
value=model.solved_count
|
||||
label="solved.solution_summary"
|
||||
icon="check-square"
|
||||
}}
|
||||
{{/link-to}}
|
||||
<LinkTo @route="userActivity.solved">
|
||||
<UserStat
|
||||
@value={{model.solved_count}}
|
||||
@label="solved.solution_summary"
|
||||
@icon="check-square"
|
||||
/>
|
||||
</LinkTo>
|
Loading…
Reference in New Issue