Fixed series links on calendar/upcoming

pull/4/head
Mark McDowall 11 years ago
parent 4fedccf6d3
commit 641e01376b

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

@ -22,7 +22,9 @@
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
{{#unless hideSeriesLink}} {{#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}} {{/unless}}
<button class="btn" data-dismiss="modal">close</button> <button class="btn" data-dismiss="modal">close</button>

Loading…
Cancel
Save