mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 07:52:37 +01:00
19 lines
429 B
JavaScript
19 lines
429 B
JavaScript
|
'use strict';
|
||
|
define(
|
||
|
[
|
||
|
'Cells/NzbDroneCell'
|
||
|
], function (NzbDroneCell) {
|
||
|
return NzbDroneCell.extend({
|
||
|
|
||
|
className: 'log-level-cell',
|
||
|
|
||
|
render: function () {
|
||
|
|
||
|
var level = this._getValue();
|
||
|
this.$el.html('<i class="icon-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
|
||
|
|
||
|
return this;
|
||
|
}
|
||
|
});
|
||
|
});
|