1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

New: Show quality in dropdowns with best at top (same as profiles)

This commit is contained in:
Mark McDowall 2015-04-07 16:01:32 -07:00
parent 7f38617d76
commit 7e0c833ad0
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{{#each items}} {{#eachReverse items}}
{{#with quality}} {{#with quality}}
{{#if selected}} {{#if selected}}
<option value="{{id}}" selected="selected">{{name}}</option> <option value="{{id}}" selected="selected">{{name}}</option>
@ -6,4 +6,4 @@
<option value="{{id}}">{{name}}</option> <option value="{{id}}">{{name}}</option>
{{/if}} {{/if}}
{{/with}} {{/with}}
{{/each}} {{/eachReverse}}

View File

@ -2,9 +2,9 @@
<div class="form-group col-md-3 col-md-offset-9"> <div class="form-group col-md-3 col-md-offset-9">
<select class="form-control x-select"> <select class="form-control x-select">
<option value="choose">Select quality</option> <option value="choose">Select quality</option>
{{#each qualities}} {{#eachReverse qualities}}
<option value="{{id}}">{{name}}</option> <option value="{{id}}">{{name}}</option>
{{/each}} {{/eachReverse}}
</select> </select>
</div> </div>
</div> </div>