From 524183c2cb3cb15ef1bb0017da6b27dc090f91c3 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Fri, 17 Aug 2018 21:08:27 -0700 Subject: [PATCH] Fix spaces in newsletter (Resolves #1302) --- data/interfaces/newsletters/recently_added.html | 4 ++-- data/interfaces/newsletters/recently_added.internal.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/interfaces/newsletters/recently_added.html b/data/interfaces/newsletters/recently_added.html index 4df4d2a0..1a9408c5 100644 --- a/data/interfaces/newsletters/recently_added.html +++ b/data/interfaces/newsletters/recently_added.html @@ -691,7 +691,7 @@ Recently Added TV Shows
- ${len(recently_added['show'])} show${'s' if len(recently_added['show']) > 1 else ''} / + ${len(recently_added['show'])} show${'s' if len(recently_added['show']) > 1 else ''} /  <% total_episodes = sum(season['episode_count'] for show in recently_added['show'] for season in show['season']) %> ${total_episodes} episode${'s' if total > 1 else ''}
@@ -744,7 +744,7 @@

% if show['season_count'] > 1: - ${show['season_count']} seasons / + ${show['season_count']} seasons /  % endif <% total_show_episodes = sum(s['episode_count'] for s in show['season']) %> ${total_show_episodes} episode${'s' if total_show_episodes > 1 else ''} diff --git a/data/interfaces/newsletters/recently_added.internal.html b/data/interfaces/newsletters/recently_added.internal.html index b7af8611..679d40b7 100644 --- a/data/interfaces/newsletters/recently_added.internal.html +++ b/data/interfaces/newsletters/recently_added.internal.html @@ -692,7 +692,7 @@ Recently Added TV Shows

- ${len(recently_added['show'])} show${'s' if len(recently_added['show']) > 1 else ''} / + ${len(recently_added['show'])} show${'s' if len(recently_added['show']) > 1 else ''} /  <% total_episodes = sum(season['episode_count'] for show in recently_added['show'] for season in show['season']) %> ${total_episodes} episode${'s' if total > 1 else ''}
@@ -745,7 +745,7 @@

% if show['season_count'] > 1: - ${show['season_count']} seasons / + ${show['season_count']} seasons /  % endif <% total_show_episodes = sum(s['episode_count'] for s in show['season']) %> ${total_show_episodes} episode${'s' if total_show_episodes > 1 else ''}