mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 17:27:18 +00:00
QualityCell uses badges
This commit is contained in:
parent
0548f49c44
commit
e706e148fd
4 changed files with 8 additions and 11 deletions
|
@ -6,7 +6,7 @@ define(
|
|||
return TemplatedCell.extend({
|
||||
|
||||
className: 'quality-cell',
|
||||
template : 'Cells/QualityTemplate'
|
||||
template : 'Cells/QualityCellTemplate'
|
||||
|
||||
});
|
||||
});
|
||||
|
|
5
UI/Cells/QualityCellTemplate.html
Normal file
5
UI/Cells/QualityCellTemplate.html
Normal 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}}
|
|
@ -1,5 +0,0 @@
|
|||
{{quality.name}}
|
||||
|
||||
{{#if proper}}
|
||||
[PROPER]
|
||||
{{/if}}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue