1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

New: Show series ratings on series details

Closes #634
This commit is contained in:
Mark McDowall 2015-07-16 23:41:51 -07:00
parent 03cf9a44cf
commit 6983f36f4d
2 changed files with 6 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public Int32 SeasonCount
public HashSet<Int32> Tags { get; set; }
public DateTime Added { get; set; }
public AddSeriesOptions AddOptions { get; set; }
public Ratings Ratings { get; set; }
//TODO: Add series statistics as a property of the series (instead of individual properties)

View File

@ -8,6 +8,11 @@
<span class="label label-info">{{runtime}} minutes</span>
<span class="label label-info">{{path}}</span>
{{#if ratings}}
<span class="label label-info" title="{{ratings.votes}} vote{{#if_gt ratings.votes compare="1"}}s{{/if_gt}}">{{ratings.value}}</span>
{{/if}}
<span class="label label-info">{{Bytes sizeOnDisk}}</span>
{{#if_eq fileCount compare="1"}}