1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00

New: Unaired premieres on calendar are displayed in light blue

This commit is contained in:
Mark McDowall 2014-08-23 13:05:13 -07:00
parent 59a5b6c030
commit 6bb918d025
4 changed files with 12 additions and 3 deletions

View file

@ -14,7 +14,7 @@
<div id="x-calendar" class="calendar"/>
<div class="legend calendar">
<ul class='legend-labels'>
<li><span class="pink" title="Premiere episode hasn't aired yet"></span>Unaired Premiere</li>
<li><span class="premiere" title="Premiere episode hasn't aired yet"></span>Unaired Premiere</li>
<li><span class="primary" title="Episode hasn't aired yet"></span>Unaired</li>
<li><span class="warning" title="Episode is currently airing"></span>On Air</li>
<li><span class="purple" title="Episode is currently downloading"></span>Downloading</li>

View file

@ -166,7 +166,7 @@ define(
}
else if (element.get('episodeNumber') === 1) {
statusLevel = 'pink';
statusLevel = 'premiere';
}
if (end.isBefore(currentTime.startOf('day'))) {

View file

@ -115,6 +115,10 @@
border-color : @nzbdronePink;
}
.premiere {
border-color : @droneTeal;
}
.episode-title {
.btn-link;
.text-overflow;
@ -176,6 +180,11 @@
background-color : @nzbdronePink;
}
.premiere {
border-color : @droneTeal;
background-color : @droneTeal;
}
.chart {
margin-top : 2px;
margin-right: 2px;

View file

@ -38,7 +38,7 @@ define(
}
if (this.episodeNumber === 1) {
return 'pink';
return 'premiere';
}
if (currentTime.isAfter(start) && currentTime.isBefore(end)) {