mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-27 23:16:58 -04:00
UI cleanup for tasks
This commit is contained in:
@@ -44,15 +44,17 @@
|
||||
.text-overflow();
|
||||
}
|
||||
|
||||
.relative-date-cell {
|
||||
width : 150px;
|
||||
cursor: default;
|
||||
.relative-date-cell, .relative-time-cell {
|
||||
.text-overflow();
|
||||
cursor : default;
|
||||
|
||||
.tooltip-inner {
|
||||
max-width : 250px;
|
||||
}
|
||||
}
|
||||
|
||||
.relative-time-cell {
|
||||
cursor: default;
|
||||
.text-overflow();
|
||||
.relative-date-cell {
|
||||
width : 150px;
|
||||
}
|
||||
|
||||
.history-event-type-cell {
|
||||
|
||||
@@ -16,10 +16,11 @@ define(
|
||||
|
||||
this.$el.empty();
|
||||
|
||||
var task = this.model.get('name');
|
||||
var name = this.model.get('name');
|
||||
var task = this.model.get('taskName');
|
||||
|
||||
this.$el.html(
|
||||
'<i class="icon-cogs x-execute" title="Execute {0}"></i>'.format(task)
|
||||
'<i class="icon-refresh icon-can-spin x-execute" title="Execute {0}"></i>'.format(name)
|
||||
);
|
||||
|
||||
CommandController.bindToCommand({
|
||||
@@ -33,8 +34,8 @@ define(
|
||||
},
|
||||
|
||||
_executeTask: function () {
|
||||
CommandController.Execute(this.model.get('name'), {
|
||||
name : this.model.get('name')
|
||||
CommandController.Execute(this.model.get('taskName'), {
|
||||
name : this.model.get('taskName')
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user