1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 17:27:18 +00:00

QualityCell uses badges

This commit is contained in:
Mark McDowall 2013-07-23 21:18:55 -07:00
parent 0548f49c44
commit e706e148fd
4 changed files with 8 additions and 11 deletions

View file

@ -6,7 +6,7 @@ define(
return TemplatedCell.extend({ return TemplatedCell.extend({
className: 'quality-cell', className: 'quality-cell',
template : 'Cells/QualityTemplate' template : 'Cells/QualityCellTemplate'
}); });
}); });

View file

@ -0,0 +1,5 @@
{{#if proper}}
<span class="badge badge-info" title="PROPER">{{quality.name}}</span>
{{else}}
<span class="badge badge-inverse">{{quality.name}}</span>
{{/if}}

View file

@ -1,5 +0,0 @@
{{quality.name}}
{{#if proper}}
[PROPER]
{{/if}}

View file

@ -17,10 +17,6 @@
cursor: default; cursor: default;
} }
.quality-cell {
width : 130px;
}
.history-event-type-cell { .history-event-type-cell {
width : 10px; width : 10px;
} }
@ -44,8 +40,9 @@
} }
} }
td.episode-status-cell { td.episode-status-cell, td.quality-cell {
text-align: center; text-align: center;
width: 80px;
.badge { .badge {
font-size: 9px; font-size: 9px;