mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
System now uses tabs instead of toolbar
This commit is contained in:
parent
ea5549d736
commit
6a10382e7b
40 changed files with 330 additions and 224 deletions
20
UI/System/Logs/Table/LogTimeCell.js
Normal file
20
UI/System/Logs/Table/LogTimeCell.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'Cells/NzbDroneCell',
|
||||
'moment'
|
||||
], function (NzbDroneCell, Moment) {
|
||||
return NzbDroneCell.extend({
|
||||
|
||||
className: 'log-time-cell',
|
||||
|
||||
render: function () {
|
||||
|
||||
var date = Moment(this._getValue());
|
||||
this.$el.html(date.format('LT'));
|
||||
this.$el.attr('title', date.format('LLLL'));
|
||||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue