mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-21 05:43:22 -07:00
Add season count to newsletter tv cards
This commit is contained in:
parent
af3501a6a6
commit
edeb6ae4e4
2 changed files with 5 additions and 2 deletions
|
@ -867,8 +867,11 @@
|
|||
<h4><a href="${plexpy_config['pms_web_url']}#!/server/${plexpy_config['pms_identifier']}/details?key=%2Flibrary%2Fmetadata%2F${link_rating_key}" title="${link_title}" target="_blank">${show['title']}</a></h4>
|
||||
</div>
|
||||
<div class="card-info-tagline">
|
||||
% if show['season_count'] > 1:
|
||||
${show['season_count']} seasons /
|
||||
% endif
|
||||
<% total_show_episodes = sum(s['episode_count'] for s in show['season']) %>
|
||||
${total_show_episodes} new episode${'s' if total_show_episodes > 1 else ''}
|
||||
${total_show_episodes} episode${'s' if total_show_episodes > 1 else ''}
|
||||
</div>
|
||||
<div class="card-info-episode">
|
||||
% for i, season in enumerate(show['season'][:8]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue