Added indexer to history and tooltip to series view radio buttons

pull/4/head
Mark McDowall 11 years ago
parent 52f12c15a6
commit 20e72ca103

@ -16,10 +16,10 @@ define(
var icon;
var toolTip;
switch (this.cellValue) {
switch (this.cellValue.get('eventType')) {
case 'grabbed':
icon = 'icon-cloud-download';
toolTip = 'Episode grabbed from indexer and sent to download client';
toolTip = 'Episode grabbed from {0} and sent to download client'.format(this.cellValue.get('data').indexer);
break;
case 'seriesFolderImported':
icon = 'icon-hdd';

@ -26,8 +26,9 @@ define(
[
{
name : 'eventType',
label: '',
cell : EventTypeCell
label : '',
cell : EventTypeCell,
cellValue: 'this'
},
{
name : 'series',

@ -189,18 +189,21 @@ define(
{
key : 'posterView',
title : '',
tooltip : 'Posters',
icon : 'icon-th-large',
callback: this._showPosters
},
{
key : 'listView',
title : '',
tooltip : 'Overview List',
icon : 'icon-th-list',
callback: this._showList
},
{
key : 'tableView',
title : '',
tooltip : 'Table',
icon : 'icon-table',
callback: this._showTable
}

@ -28,6 +28,10 @@ define(
if(!this.model.get('title')){
this.$el.addClass('btn-icon-only');
}
if (this.model.get('tooltip')) {
this.$el.attr('title', this.model.get('tooltip'))
}
},
onClick: function () {

Loading…
Cancel
Save