From fc9dcb10843c9695ad524682f5734904a5495155 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 5 Jul 2013 13:26:50 -0700 Subject: [PATCH] Tootips added or episode status --- UI/Cells/EpisodeStatusCell.js | 7 +++++-- UI/Content/Overrides/bootstrap.less | 2 +- UI/Content/form.less | 1 - 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/UI/Cells/EpisodeStatusCell.js b/UI/Cells/EpisodeStatusCell.js index 4c3e5ea62..889594717 100644 --- a/UI/Cells/EpisodeStatusCell.js +++ b/UI/Cells/EpisodeStatusCell.js @@ -14,21 +14,24 @@ define( if (this.model) { var icon; + var tooltip; if (this.model.get('episodeFile')) { icon = 'icon-ok'; - + tooltip = 'Episode downloaded'; } else { if (this.model.get('hasAired')) { icon = 'icon-warning-sign'; + tooltip = 'Episode missing from disk'; } else { icon = 'icon-time'; + tooltip = 'Episode has not aired'; } } - this.$el.html(''.format(icon)); + this.$el.html(''.format(icon, tooltip)); } return this; diff --git a/UI/Content/Overrides/bootstrap.less b/UI/Content/Overrides/bootstrap.less index d7dac284c..505f87581 100644 --- a/UI/Content/Overrides/bootstrap.less +++ b/UI/Content/Overrides/bootstrap.less @@ -1,6 +1,6 @@ @import "../prefixer"; -.label, .badge { +.label, .badge, i { cursor : default; } diff --git a/UI/Content/form.less b/UI/Content/form.less index 910d71a7d..a13ef0d69 100644 --- a/UI/Content/form.less +++ b/UI/Content/form.less @@ -3,7 +3,6 @@ i { font-size : 16px; color : #595959; - cursor : default; } .checkbox { width : 100px;