1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-24 16:53:54 +00:00

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> <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>

View file

@ -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>