mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 04:49:36 -07:00
Fix artist summary not showing up on newsletter
This commit is contained in:
parent
ba9f4a1f9e
commit
7acb8f7dc5
2 changed files with 2 additions and 2 deletions
|
@ -888,7 +888,7 @@
|
||||||
<p class="nowrap mb5" style="font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-weight: 400;margin: 0;margin-bottom: 5px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;max-width: 325px;color: #ffffff;">
|
<p class="nowrap mb5" style="font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-weight: 400;margin: 0;margin-bottom: 5px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;max-width: 325px;color: #ffffff;">
|
||||||
<em>${album['parent_title']} · ${album['track_count']} track${'s' if album['track_count'] > 1 else ''}</em>
|
<em>${album['parent_title']} · ${album['track_count']} track${'s' if album['track_count'] > 1 else ''}</em>
|
||||||
</p>
|
</p>
|
||||||
% if artist['title'].lower() != 'various artists':
|
% if album['parent_title'].lower() != 'various artists':
|
||||||
<p style="font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-weight: 400;margin: 0;max-width: 325px;color: #ffffff;">
|
<p style="font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-weight: 400;margin: 0;max-width: 325px;color: #ffffff;">
|
||||||
${album['summary'][:200] + (album['summary'][200:] and '...')}
|
${album['summary'][:200] + (album['summary'][200:] and '...')}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -889,7 +889,7 @@
|
||||||
<p class="nowrap mb5">
|
<p class="nowrap mb5">
|
||||||
<em>${album['parent_title']} · ${album['track_count']} track${'s' if album['track_count'] > 1 else ''}</em>
|
<em>${album['parent_title']} · ${album['track_count']} track${'s' if album['track_count'] > 1 else ''}</em>
|
||||||
</p>
|
</p>
|
||||||
% if artist['title'].lower() != 'various artists':
|
% if album['parent_title'].lower() != 'various artists':
|
||||||
<p>
|
<p>
|
||||||
${album['summary'][:200] + (album['summary'][200:] and '...')}
|
${album['summary'][:200] + (album['summary'][200:] and '...')}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue