Fixed series links on calendar/upcoming

This commit is contained in:
Mark McDowall 2013-07-16 20:40:19 -07:00
parent 4fedccf6d3
commit 641e01376b
2 changed files with 7 additions and 3 deletions

View File

@ -3,9 +3,11 @@
<h1>{{Day airDate}}</h1>
<h4>{{Month airDate}}</h4>
</div>
<a href="{{series.route}}">
<h4>{{series.title}}</h4>
{{#with series}}
<a href="{{route}}">
<h4>{{title}}</h4>
</a>
{{/with}}
<p>{{StartTime airDate}} {{ShortDate airDate}}<span class="pull-right">{{seasonNumber}}x{{Pad2 episodeNumber}}</span><br>{{episodeTitle}}</p>
<p class="episode-title x-episode-title">{{title}}</p>
</div>

View File

@ -22,7 +22,9 @@
</div>
<div class="modal-footer">
{{#unless hideSeriesLink}}
<a href="{{series.route}}" class="btn pull-left" data-dismiss="modal">open series</a>
{{#with series}}
<a href="{{route}}" class="btn pull-left" data-dismiss="modal">open series</a>
{{/with}}
{{/unless}}
<button class="btn" data-dismiss="modal">close</button>