mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Fix centering last item on newsletter
This commit is contained in:
parent
45c646c062
commit
366e8514b6
6 changed files with 554 additions and 450 deletions
|
@ -698,9 +698,12 @@ class RecentlyAdded(Newsletter):
|
|||
item['thumb_hash'] = set_hash_image_info(
|
||||
img=item['thumb'], width=150, height=225, fallback='poster')
|
||||
|
||||
item['art_hash'] = set_hash_image_info(
|
||||
img=item['art'], width=500, height=280,
|
||||
opacity=25, background='282828', blur=3, fallback='art')
|
||||
if item['art']:
|
||||
item['art_hash'] = set_hash_image_info(
|
||||
img=item['art'], width=500, height=280,
|
||||
opacity=25, background='282828', blur=3, fallback='art')
|
||||
else:
|
||||
item['art_hash'] = ''
|
||||
|
||||
item['poster_url'] = ''
|
||||
item['art_url'] = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue