diff --git a/src/series/templates/email/error_series_notification.html b/src/series/templates/email/error_series_notification.html index 7ae7a0a..dd5f7ea 100644 --- a/src/series/templates/email/error_series_notification.html +++ b/src/series/templates/email/error_series_notification.html @@ -1,12 +1,21 @@ -{% autoescape off %} -Hi {{ user.username }}, -{{new_series_list|length}} series updated. - -{{error_series_list|length}} series could not be updated: -{% for e in error_series_list %} -{{e.title}} -{% endfor %} +

Hi, {{user.username}}

+
{{new_series_list|length}} series updated
+
 {% for s in new_series_list %}
-{{s.series.title}}: watched - {{s.series.watched_season}}-{{s.series.watched_episode}}, last - {{s.last_season}}-{{s.last_episode}}, new episodes count - {{s.new_episodes_count}}
+{{s.series.title}}:
+    watched: {{s.series.watched_season}}-{{s.series.watched_episode}}
+    last: {{s.last_season}}-{{s.last_episode}}
+    number of new episodes: {{s.new_episodes_count}}
 {% endfor %}
-{% endautoescape %}
\ No newline at end of file
+
+
+Some series could not be updated (please try again later)
+
+
+{% for e in error_series_list %}
+{{e.title}}:
+    watched: {{e.watched_season}}-{{e.watched_episode}}
+    last: {{e.last_season}}-{{e.last_episode}}
+    number of new episodes: {{e.new_episodes_count}}
+{% endfor %}
+
\ No newline at end of file diff --git a/src/series/templates/email/maximum_usage_notification.html b/src/series/templates/email/maximum_usage_notification.html index d1fb039..32965fa 100644 --- a/src/series/templates/email/maximum_usage_notification.html +++ b/src/series/templates/email/maximum_usage_notification.html @@ -1,9 +1,13 @@ -{% autoescape off %} -Hi {{ user.username }}, -{{new_series_list|length}} series updated. - -Some series could not be updated ({{maximum_usage}}) +

Hi, {{user.username}}

+
{{new_series_list|length}} series updated
+
 {% for s in new_series_list %}
-{{s.series.title}}: watched - {{s.series.watched_season}}-{{s.series.watched_episode}}, last - {{s.last_season}}-{{s.last_episode}}, new episodes count - {{s.new_episodes_count}}
+{{s.series.title}}:
+    watched: {{s.series.watched_season}}-{{s.series.watched_episode}}
+    last: {{s.last_season}}-{{s.last_episode}}
+    number of new episodes: {{s.new_episodes_count}}
 {% endfor %}
-{% endautoescape %}
\ No newline at end of file
+
+
+Some series could not be updated 
({{maximum_usage}})
+
\ No newline at end of file diff --git a/src/series/templates/email/new_series_notification.html b/src/series/templates/email/new_series_notification.html index e6fa6b9..15ef1fa 100644 --- a/src/series/templates/email/new_series_notification.html +++ b/src/series/templates/email/new_series_notification.html @@ -1,7 +1,10 @@ -{% autoescape off %} -Hi {{ user.username }}, -{{new_series_list|length}} series updated. +

Hi, {{user.username}}

+
{{new_series_list|length}} series updated
+
 {% for s in new_series_list %}
-{{s.series.title}}: watched - {{s.series.watched_season}}-{{s.series.watched_episode}}, last - {{s.last_season}}-{{s.last_episode}}, new episodes count - {{s.new_episodes_count}}
+{{s.series.title}}:
+    watched: {{s.series.watched_season}}-{{s.series.watched_episode}}
+    last: {{s.last_season}}-{{s.last_episode}}
+    number of new episodes: {{s.new_episodes_count}}
 {% endfor %}
-{% endautoescape %}
\ No newline at end of file
+
\ No newline at end of file diff --git a/src/series/templates/homepage.html b/src/series/templates/homepage.html index 8f63d86..a8f545b 100644 --- a/src/series/templates/homepage.html +++ b/src/series/templates/homepage.html @@ -48,7 +48,7 @@ - + {{s.watched_season}} - {{s.watched_episode}}