diff --git a/files/assets/js/core.js b/files/assets/js/core.js index c08fa0833..f31a1e23d 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -78,6 +78,16 @@ function postToast(t, url, data, callback) { } } +function postToastReload(t, url) { + postToast(t, url, + { + }, + () => { + location.reload() + } + ); +} + function postToastSwitch(t, url, button1, button2, cls, callback) { postToast(t, url, { diff --git a/files/classes/submission.py b/files/classes/submission.py index a2952f6f8..2458a76bf 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -323,7 +323,7 @@ class Submission(Base): body += " - WINNER!" if not winner and v and v.admin_level >= PERMS['POST_BETS_DISTRIBUTE']: - body += f'''''' + body += f'''''' body += "" else: input_type = 'radio' if o.exclusive else 'checkbox' diff --git a/files/templates/admin/app.html b/files/templates/admin/app.html index 717a4f11c..c77c4495c 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -34,12 +34,12 @@
{% if not app.client_id%} - - + + {% else %} - + {% endif %}
diff --git a/files/templates/admin/apps.html b/files/templates/admin/apps.html index 04ed595ae..5e6d3bbed 100644 --- a/files/templates/admin/apps.html +++ b/files/templates/admin/apps.html @@ -40,12 +40,12 @@
{% if not app.client_id %} - - + + {% else %} - + {% endif %}
diff --git a/files/templates/header.html b/files/templates/header.html index 63fe44c0f..a0f530fdd 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -262,7 +262,7 @@ Archives {% endif %} Contact us - + @@ -332,7 +332,7 @@ Contact us {% else %}