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({
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;
}
.quality-cell {
width : 130px;
}
.history-event-type-cell {
width : 10px;
}
@ -44,8 +40,9 @@
}
}
td.episode-status-cell {
td.episode-status-cell, td.quality-cell {
text-align: center;
width: 80px;
.badge {
font-size: 9px;