mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 12:59:42 -07:00
Fix plural seasons in recently added
This commit is contained in:
parent
f24f4a4250
commit
687672e9c1
1 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ DOCUMENTATION :: END
|
||||||
|
|
||||||
% if data != None:
|
% if data != None:
|
||||||
<%
|
<%
|
||||||
from plexpy.helpers import page
|
from plexpy.helpers import cast_to_int, page
|
||||||
%>
|
%>
|
||||||
% if data:
|
% if data:
|
||||||
<div class="dashboard-recent-media-row">
|
<div class="dashboard-recent-media-row">
|
||||||
|
@ -87,7 +87,7 @@ DOCUMENTATION :: END
|
||||||
<a href="${page('info', item['rating_key'])}" title="${item['title']}">${item['title']}</a>
|
<a href="${page('info', item['rating_key'])}" title="${item['title']}">${item['title']}</a>
|
||||||
</h3>
|
</h3>
|
||||||
<h3 class="text-muted">
|
<h3 class="text-muted">
|
||||||
${item['child_count']} Seasons
|
${item['child_count']} Season${'s' if cast_to_int(item['child_count']) > 1 else ''}
|
||||||
</h3>
|
</h3>
|
||||||
<h3 class="text-muted"> </h3>
|
<h3 class="text-muted"> </h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue