Helper cleanup

This commit is contained in:
Mark McDowall 2013-06-06 19:39:12 -07:00
commit 626d48c8ea
16 changed files with 89 additions and 83 deletions

View file

@ -21,8 +21,8 @@
<div class="center">
<div class="labels">
{{#if isContinuing}}
{{#if bestDateString}}
<span class="label label-inverse air-date" title="{{shortDate}}">{{bestDateString}}</span>
{{#if nextAiring}}
<span class="label label-inverse">{{date nextAiring}}</span>
{{else}}
<span class="label label-inverse">Continuing</span>
{{/if}}

View file

@ -16,7 +16,6 @@ define([
ui: {
'progressbar': '.progress .bar',
'airDate': '.air-date',
'controls': '.series-controls'
},
@ -31,10 +30,6 @@ define([
this.qualityProfileCollection = options.qualityProfiles;
},
onRender: function () {
this.ui.airDate.tooltip();
},
editSeries: function () {
var view = new NzbDrone.Series.Edit.EditSeriesView({ model: this.model});
NzbDrone.modalRegion.show(view);