mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Allow additional parameters for newsletter preview
This commit is contained in:
parent
a9a08a959c
commit
1f10668838
3 changed files with 11 additions and 9 deletions
|
@ -1,4 +1,7 @@
|
|||
<!doctype html>
|
||||
<%
|
||||
import urllib
|
||||
%>
|
||||
<!doctype html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
@ -58,7 +61,7 @@
|
|||
<script>
|
||||
$(document).ready(function () {
|
||||
var frame = $('<iframe></iframe>', {
|
||||
src: '${http_root}real_newsletter?newsletter_id=${newsletter_id}&preview=true',
|
||||
src: '${http_root}real_newsletter?${urllib.urlencode(kwargs)}',
|
||||
frameborder: '0',
|
||||
style: 'display: none; height: 100vh; width: 100vw;'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue