New: Show series ratings on series details

Closes #634
pull/4/head
Mark McDowall 9 years ago
parent 03cf9a44cf
commit 6983f36f4d

@ -69,6 +69,7 @@ namespace NzbDrone.Api.Series
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)

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

Loading…
Cancel
Save