mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 10:19:41 +00:00
Better statuses for AirsToday and NotAired.
This commit is contained in:
parent
dd46a8716a
commit
7670de30d3
1 changed files with 15 additions and 1 deletions
|
@ -33,9 +33,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@{
|
||||||
|
var statusTitle = Model.Status;
|
||||||
|
|
||||||
|
if (Model.Status == "AirsToday")
|
||||||
|
{
|
||||||
|
statusTitle = "Airs today";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Model.Status == "NotAired")
|
||||||
|
{
|
||||||
|
statusTitle = "Not yet aired";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@*Commands Column*@
|
@*Commands Column*@
|
||||||
<td class="@cellColourClass">
|
<td class="@cellColourClass">
|
||||||
<img src='../../Content/Images/@(Model.Status).png' alt='@Model.Status' title='@Model.Status' class='gridImage statusImage' />
|
<img src='../../Content/Images/@(Model.Status).png' alt='@Model.Status' title='@statusTitle' class='gridImage statusImage' />
|
||||||
@Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridAction" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null)
|
@Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridAction" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue