Added Genre and Tags
This commit is contained in:
@@ -117,6 +117,30 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
@if (show.Genres.Count > 0 || show.Tags.Count > 0)
|
||||
{
|
||||
<div class="airing-taxonomy">
|
||||
@foreach (var genre in show.Genres)
|
||||
{
|
||||
<span class="genre-chip">@genre</span>
|
||||
}
|
||||
@foreach (var tag in show.VisibleTags)
|
||||
{
|
||||
<span class="tag-chip">#@tag</span>
|
||||
}
|
||||
@if (show.OverflowTags.Count > 0)
|
||||
{
|
||||
<details class="tag-overflow">
|
||||
<summary class="tag-chip tag-more">+@show.OverflowTags.Count more</summary>
|
||||
@foreach (var tag in show.OverflowTags)
|
||||
{
|
||||
<span class="tag-chip">#@tag</span>
|
||||
}
|
||||
</details>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (show.EpisodeProgressPercent.HasValue)
|
||||
{
|
||||
<div class="airing-progress" title="@show.LatestEpisodeNumber of @show.TotalEpisodes episodes aired">
|
||||
|
||||
Reference in New Issue
Block a user