This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/review-settings.hbs
Robin Ward e74cd54fc6 REFACTOR: Replace score bonuses with low/med/high priorities
We removed score from the UX so it makes more sense to have sites set
priorities instead of score bonuses.
2019-05-23 11:54:45 -04:00

29 lines
786 B
Handlebars

<div class='reviewable-settings'>
<h4>{{i18n "review.settings.priorities.title"}}</h4>
{{#each settings.reviewable_score_types as |rst|}}
<div class='reviewable-score-type'>
<div class='title'>{{rst.title}}</div>
<div class='field'>
{{combo-box value=rst.reviewable_priority content=settings.reviewable_priorities}}
</div>
</div>
{{/each}}
<div class='reviewable-score-type'>
<div class='title'></div>
<div class='field'>
{{d-button
icon="check"
label="review.settings.save_changes"
class="btn-primary save-settings"
action=(action "save")
disabled=saving}}
{{#if saved}}
<span class='saved'>{{i18n "review.settings.saved"}}</span>
{{/if}}
</div>
</div>
</div>