mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
27 lines
No EOL
1,015 B
HTML
27 lines
No EOL
1,015 B
HTML
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-remove"></i></button>
|
|
<h4 class="modal-title">Notification Text Preview</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
% if text:
|
|
% for item in text:
|
|
<div style="padding-bottom: 10px;">
|
|
<h4>${item['media_type'].capitalize()}</h4>
|
|
% if agent != 'webhook':
|
|
<pre>${item['subject']}</pre>
|
|
% endif
|
|
% if agent != 'scripts':
|
|
<pre>${item['body']}</pre>
|
|
% endif
|
|
</div>
|
|
% endfor
|
|
% else:
|
|
<div style="text-align: center;"><i class="fa fa-exclamation-circle"></i> Failed to generate preview.</div>
|
|
% endif
|
|
</div>
|
|
<div class="modal-footer">
|
|
</div>
|
|
</div>
|
|
</div> |