mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-04-16 04:53:11 +00:00
email templates edited
This commit is contained in:
parent
7bb7bf3929
commit
e3e6497d4b
@ -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 %}
|
||||
<h2>Hi, {{user.username}}</h2>
|
||||
<pre style="font-size: 1.4vw">{{new_series_list|length}} series updated</pre>
|
||||
<pre style="font-size: 1vw;">
|
||||
{% 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}}
|
||||
<a href="https://www.imdb.com/title/{{s.series.imdb_id}}/" style="text-decoration: none;">{{s.series.title}}:</a>
|
||||
watched: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{s.series.watched_season}}" style="text-decoration: none;">{{s.series.watched_season}}-{{s.series.watched_episode}}</a>
|
||||
last: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{s.last_season}}" style="text-decoration: none;">{{s.last_season}}-{{s.last_episode}}</a>
|
||||
number of new episodes: {{s.new_episodes_count}}
|
||||
{% endfor %}
|
||||
{% endautoescape %}
|
||||
</pre>
|
||||
<pre style="font-size: 1.4vw">
|
||||
Some series could not be updated (please try again later)
|
||||
</pre>
|
||||
<pre style="font-size: 1vw;">
|
||||
{% for e in error_series_list %}
|
||||
<a href="https://www.imdb.com/title/{{e.imdb_id}}/" style="text-decoration: none;">{{e.title}}:</a>
|
||||
watched: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{e.watched_season}}" style="text-decoration: none;">{{e.watched_season}}-{{e.watched_episode}}</a>
|
||||
last: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{e.last_season}}" style="text-decoration: none;">{{e.last_season}}-{{e.last_episode}}</a>
|
||||
number of new episodes: {{e.new_episodes_count}}
|
||||
{% endfor %}
|
||||
</pre>
|
@ -1,9 +1,13 @@
|
||||
{% autoescape off %}
|
||||
Hi {{ user.username }},
|
||||
{{new_series_list|length}} series updated.
|
||||
|
||||
Some series could not be updated ({{maximum_usage}})
|
||||
<h2>Hi, {{user.username}}</h2>
|
||||
<pre style="font-size: 1.4vw">{{new_series_list|length}} series updated</pre>
|
||||
<pre style="font-size: 1vw;">
|
||||
{% 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}}
|
||||
<a href="https://www.imdb.com/title/{{s.series.imdb_id}}/" style="text-decoration: none;">{{s.series.title}}:</a>
|
||||
watched: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{s.series.watched_season}}" style="text-decoration: none;">{{s.series.watched_season}}-{{s.series.watched_episode}}</a>
|
||||
last: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{s.last_season}}" style="text-decoration: none;">{{s.last_season}}-{{s.last_episode}}</a>
|
||||
number of new episodes: {{s.new_episodes_count}}
|
||||
{% endfor %}
|
||||
{% endautoescape %}
|
||||
</pre>
|
||||
<pre style="font-size: 1.4vw">
|
||||
Some series could not be updated <pre style="color: red; display: inline; font-size: 1vw;">({{maximum_usage}})</pre>
|
||||
</pre>
|
@ -1,7 +1,10 @@
|
||||
{% autoescape off %}
|
||||
Hi {{ user.username }},
|
||||
{{new_series_list|length}} series updated.
|
||||
<h2>Hi, {{user.username}}</h2>
|
||||
<pre style="font-size: 1.4vw;">{{new_series_list|length}} series updated</pre>
|
||||
<pre style="font-size: 1vw;">
|
||||
{% 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}}
|
||||
<a href="https://www.imdb.com/title/{{s.series.imdb_id}}/" style="text-decoration: none;">{{s.series.title}}:</a>
|
||||
watched: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{s.series.watched_season}}" style="text-decoration: none;">{{s.series.watched_season}}-{{s.series.watched_episode}}</a>
|
||||
last: <a href="https://www.imdb.com/title/{{s.series.imdb_id}}/episodes?season={{s.last_season}}" style="text-decoration: none;">{{s.last_season}}-{{s.last_episode}}</a>
|
||||
number of new episodes: {{s.new_episodes_count}}
|
||||
{% endfor %}
|
||||
{% endautoescape %}
|
||||
</pre>
|
@ -48,7 +48,7 @@
|
||||
</a>
|
||||
</th>
|
||||
<td>
|
||||
<a href="https://www.imdb.com/title/{{s.imdb_id}}/episodes?season={{s.last_season}}" style="text-decoration: none;" target="_blank">
|
||||
<a href="https://www.imdb.com/title/{{s.imdb_id}}/episodes?season={{s.watched_season}}" style="text-decoration: none;" target="_blank">
|
||||
{{s.watched_season}} - {{s.watched_episode}}
|
||||
</a>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user