diff --git a/tubearchivist/home/templates/home/settings.html b/tubearchivist/home/templates/home/settings.html index 73a0bc33..e9c23119 100644 --- a/tubearchivist/home/templates/home/settings.html +++ b/tubearchivist/home/templates/home/settings.html @@ -178,7 +178,7 @@

Integrations

-

API token:

+

API token:

{{ api_token }}

@@ -252,7 +252,14 @@

Send notification on task completed:

-

Current notification urls: {{ config.scheduler.update_subscribed_notify }}

+ {% if config.scheduler.update_subscribed_notify %} +

stored notification links

+
+

{{ config.scheduler.update_subscribed_notify|linebreaks }}

+
+ {% else %} +

Current notification urls: {{ config.scheduler.update_subscribed_notify }}

+ {% endif %} {{ scheduler_form.update_subscribed_notify }}
@@ -273,7 +280,14 @@

Send notification on task completed:

-

Current notification urls: {{ config.scheduler.download_pending_notify }}

+ {% if config.scheduler.download_pending_notify %} +

stored notification links

+
+

{{ config.scheduler.download_pending_notify|linebreaks }}

+
+ {% else %} +

Current notification urls: {{ config.scheduler.download_pending_notify }}

+ {% endif %} {{ scheduler_form.download_pending_notify }}
@@ -299,7 +313,14 @@

Send notification on task completed:

-

Current notification urls: {{ config.scheduler.check_reindex_notify }}

+ {% if config.scheduler.check_reindex_notify %} +

stored notification links

+
+

{{ config.scheduler.check_reindex_notify|linebreaks }}

+
+ {% else %} +

Current notification urls: {{ config.scheduler.check_reindex_notify }}

+ {% endif %} {{ scheduler_form.check_reindex_notify }}
diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index f4ca1e4a..528b1a72 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -1318,9 +1318,9 @@ function getCookie(c_name) { // animations -function textReveal() { - let textBox = document.getElementById('text-reveal'); - let button = document.getElementById('text-reveal-button'); +function textReveal(button) { + let revealBox = button.parentElement.parentElement; + let textBox = revealBox.querySelector('#text-reveal'); let textBoxHeight = textBox.style.height; if (textBoxHeight === 'unset') { textBox.style.height = '0px';