Added tooltip to airdate on posters view

This commit is contained in:
Mark McDowall
2013-04-24 17:23:07 -07:00
parent c3de0006ff
commit 32701d5e84
4 changed files with 27 additions and 5 deletions
+2 -2
View File
@@ -12,13 +12,13 @@
</div>
</div>
<div class="center title">{{title}}</div>
<!--<div class="center title">{{title}}</div>-->
<div class="center">
<div class="labels">
{{#if isContinuing}}
{{#if bestDateString}}
<span class="label label-inverse">{{bestDateString}}</span>
<span class="label label-inverse air-date" title="{{shortDate}}">{{bestDateString}}</span>
{{else}}
<span class="label label-inverse">{{statusText}}</span>
{{/if}}
+6 -1
View File
@@ -15,7 +15,8 @@ define([
ui: {
'progressbar': '.progress .bar'
'progressbar': '.progress .bar',
'airDate': '.air-date'
},
events: {
@@ -27,6 +28,10 @@ define([
this.qualityProfileCollection = options.qualityProfiles;
},
onRender: function () {
this.ui.airDate.tooltip();
},
editSeries: function () {
var view = new NzbDrone.Series.Edit.EditSeriesView({ model: this.model});