Add existing series no longer shows root dir

This commit is contained in:
Mark McDowall 2013-04-20 18:29:26 -07:00
parent dfaf0db566
commit d49eb41f76
3 changed files with 9 additions and 4 deletions

View File

@ -9,6 +9,10 @@ define([
'click .x-add': 'addSeries' 'click .x-add': 'addSeries'
}, },
initialize: function () {
this.model.set('isExisting', true);
},
addSeries: function () { addSeries: function () {
var self = this; var self = this;

View File

@ -31,10 +31,11 @@
{{else}} {{else}}
<span class="label label-inverse">{{status}}</span> <span class="label label-inverse">{{status}}</span>
{{/if}} {{/if}}
<span class="label label-info">Season {{numberOfSeasons}}</span>
{{else}} {{else}}
<span class="label label-important">{{status}}</span> <span class="label label-important">{{status}}</span>
<span class="label label-info">{{numberOfSeasons}} Seasons</span>
{{/if}} {{/if}}
<span class="label label-info">{{numberOfSeasons}} Seasons</span>
</div> </div>
<div class="span2"> <div class="span2">
<div class="progress"> <div class="progress">

View File

@ -1,7 +1,7 @@
.series-item { .series-item {
padding-bottom: 20px; padding-bottom: 20px;
}
.series-item h2 { h2 {
margin-top: 0px; margin-top: 0px;
}
} }