From 070f3503c5e4450013c98c47f261ab5ec2b89d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 11 Aug 2025 17:15:53 +0200 Subject: [PATCH] feat: Display "N/A" in empty configuration sections --- tutordeck/server/templates/plugin.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tutordeck/server/templates/plugin.html b/tutordeck/server/templates/plugin.html index 8fec304..5b70596 100644 --- a/tutordeck/server/templates/plugin.html +++ b/tutordeck/server/templates/plugin.html @@ -26,15 +26,19 @@

You can adjust the plugin's behavior by changing these settings. Changes will only go live after you apply them.

-
+

Unique settings

{% if plugin_config_unique %} {% with config=plugin_config_unique %}{% include "_config.html" %}{% endwith %} + {% else %} +

N/A

{% endif %}

Default settings

{% if plugin_config_defaults %} {% with config=plugin_config_defaults %}{% include "_config.html" %}{% endwith %} + {% else %} +

N/A

{% endif %}