mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Update Notification Text Modifiers modal with Time Formats
This commit is contained in:
parent
5abdfd7377
commit
98c363f559
2 changed files with 16 additions and 1 deletions
|
@ -1923,6 +1923,21 @@
|
||||||
<p><strong style="color: #fff;">Example:</strong></p>
|
<p><strong style="color: #fff;">Example:</strong></p>
|
||||||
<pre>{media_type} --> movie
|
<pre>{media_type} --> movie
|
||||||
{media_type!c} --> Movie</pre>
|
{media_type!c} --> Movie</pre>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4>Time Formats</h4>
|
||||||
|
</div>
|
||||||
|
<div style="padding-bottom: 10px;">
|
||||||
|
<p class="help-block">
|
||||||
|
Notification parameters which are "in date format" or "in time format" can be formatted using the
|
||||||
|
<a href="javascript:void(0)" data-target="#dateTimeOptionsModal" data-toggle="modal">Date & Time Format Options</a>
|
||||||
|
by adding a <span class="inline-pre">:format</span> specifier.
|
||||||
|
If no format is specified, the default Date Format and Time Format under Settings > General will be used.
|
||||||
|
</p>
|
||||||
|
<p><strong style="color: #fff;">Example:</strong></p>
|
||||||
|
<pre>{started_datestamp:ddd, MMMM DD, YYYY} --> Mon, December 25, 2023
|
||||||
|
{stopped_timestamp:h:mm a} --> 9:56 pm
|
||||||
|
{duration_time:HH:mm:ss} --> 01:42:20</pre>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h4>List Slicing</h4>
|
<h4>List Slicing</h4>
|
||||||
|
|
|
@ -636,7 +636,7 @@ NOTIFICATION_PARAMETERS = [
|
||||||
'parameters': [
|
'parameters': [
|
||||||
{'name': 'Update Version', 'type': 'str', 'value': 'update_version', 'description': 'The available update version for your Plex Server.'},
|
{'name': 'Update Version', 'type': 'str', 'value': 'update_version', 'description': 'The available update version for your Plex Server.'},
|
||||||
{'name': 'Update Url', 'type': 'str', 'value': 'update_url', 'description': 'The download URL for the available update.'},
|
{'name': 'Update Url', 'type': 'str', 'value': 'update_url', 'description': 'The download URL for the available update.'},
|
||||||
{'name': 'Update Release Date', 'type': 'str', 'value': 'update_release_date', 'description': 'The release date of the available update.'},
|
{'name': 'Update Release Date', 'type': 'str', 'value': 'update_release_date', 'description': 'The release date (in date format) of the available update.'},
|
||||||
{'name': 'Update Channel', 'type': 'str', 'value': 'update_channel', 'description': 'The update channel.', 'example': 'Public or Plex Pass'},
|
{'name': 'Update Channel', 'type': 'str', 'value': 'update_channel', 'description': 'The update channel.', 'example': 'Public or Plex Pass'},
|
||||||
{'name': 'Update Platform', 'type': 'str', 'value': 'update_platform', 'description': 'The platform of your Plex Server.'},
|
{'name': 'Update Platform', 'type': 'str', 'value': 'update_platform', 'description': 'The platform of your Plex Server.'},
|
||||||
{'name': 'Update Distro', 'type': 'str', 'value': 'update_distro', 'description': 'The distro of your Plex Server.'},
|
{'name': 'Update Distro', 'type': 'str', 'value': 'update_distro', 'description': 'The distro of your Plex Server.'},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue