QualityCell uses badges

pull/3113/head
Mark McDowall 11 years ago
parent 0548f49c44
commit e706e148fd

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

@ -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}}

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

@ -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;

Loading…
Cancel
Save