From 101a4933c90515c9127e00c16e3c3986a68bd688 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 10 Feb 2023 21:13:00 +0000 Subject: [PATCH] Make long IDs copyable --- app/local_settings.py | 3 ++- core/templates/partials/assetrestriction-list.html | 10 ++++++++++ core/templates/partials/hook-list.html | 10 +++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/app/local_settings.py b/app/local_settings.py index 3d59f56..95ad707 100644 --- a/app/local_settings.py +++ b/app/local_settings.py @@ -31,6 +31,7 @@ REGISTRATION_OPEN = getenv("REGISTRATION_OPEN", "false").lower() in trues # Hook URL, do not include leading or trailing slash HOOK_PATH = "hook" +ASSET_PATH = "asset" NOTIFY_TOPIC = getenv("NOTIFY_TOPIC", "great-fisk") @@ -51,4 +52,4 @@ if DEBUG: "10.0.2.2", ] -SETTINGS_EXPORT = ["STRIPE_ENABLED", "URL", "HOOK_PATH"] +SETTINGS_EXPORT = ["STRIPE_ENABLED", "URL", "HOOK_PATH", "ASSET_PATH"] diff --git a/core/templates/partials/assetrestriction-list.html b/core/templates/partials/assetrestriction-list.html index 8b1a86f..6ebb1da 100644 --- a/core/templates/partials/assetrestriction-list.html +++ b/core/templates/partials/assetrestriction-list.html @@ -14,6 +14,7 @@ description pairs group + hook actions {% for item in object_list %} @@ -24,6 +25,15 @@ {{ item.description }} {{ item.pairs_parsed|length }} {{ item.group }} + + + + + + +