mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Show tags in notification text preview modal
This commit is contained in:
parent
5749ab7c92
commit
6397b1e5a7
2 changed files with 8 additions and 3 deletions
|
@ -8,7 +8,12 @@
|
||||||
% if text:
|
% if text:
|
||||||
% for item in text:
|
% for item in text:
|
||||||
<div style="padding-bottom: 10px;">
|
<div style="padding-bottom: 10px;">
|
||||||
<h4>${item['media_type'].capitalize()}</h4>
|
<h4>
|
||||||
|
${item['media_type'].capitalize()}
|
||||||
|
% if item['media_type'] != 'server':
|
||||||
|
<span class="inline-pre"><${item['media_type']}></${item['media_type']}></span> tags
|
||||||
|
% endif
|
||||||
|
</h4>
|
||||||
% if agent != 'webhook':
|
% if agent != 'webhook':
|
||||||
<pre>${item['subject']}</pre>
|
<pre>${item['subject']}</pre>
|
||||||
% endif
|
% endif
|
||||||
|
|
|
@ -1532,7 +1532,7 @@
|
||||||
<div style="padding-bottom: 10px;">
|
<div style="padding-bottom: 10px;">
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
All text inside <span class="inline-pre"><show></show></span>/<span class="inline-pre"><season></season></span>/<span class="inline-pre"><episode></episode></span>
|
All text inside <span class="inline-pre"><show></show></span>/<span class="inline-pre"><season></season></span>/<span class="inline-pre"><episode></episode></span>
|
||||||
tags will only be sent when the media type is show/season/episode.
|
tags will only be sent when the media type is show, season, or episode, respectively.
|
||||||
</p>
|
</p>
|
||||||
<p><strong style="color: #fff;">Example:</strong></p>
|
<p><strong style="color: #fff;">Example:</strong></p>
|
||||||
<pre>{show_name}<season> - Season {season_num}</season><episode> - S{season_num}E{episode_num} - {episode_name}</episode> was recently added to Plex.</pre>
|
<pre>{show_name}<season> - Season {season_num}</season><episode> - S{season_num}E{episode_num} - {episode_name}</episode> was recently added to Plex.</pre>
|
||||||
|
@ -1543,7 +1543,7 @@
|
||||||
<div>
|
<div>
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
All text inside <span class="inline-pre"><artist></artist></span>/<span class="inline-pre"><album></album></span>/<span class="inline-pre"><track></track></span>
|
All text inside <span class="inline-pre"><artist></artist></span>/<span class="inline-pre"><album></album></span>/<span class="inline-pre"><track></track></span>
|
||||||
tags will only be sent when the media type is artist/album/track.
|
tags will only be sent when the media type is artist, album, or track, respectively.
|
||||||
</p>
|
</p>
|
||||||
<p><strong style="color: #fff;">Example:</strong></p>
|
<p><strong style="color: #fff;">Example:</strong></p>
|
||||||
<pre>{artist_name}<album> - {album_name}</album><track> - {album_name} - {track_name}</track> was recently added to Plex.</pre>
|
<pre>{artist_name}<album> - {album_name}</album><track> - {album_name} - {track_name}</track> was recently added to Plex.</pre>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue