From 8c977cf25529b723c574d4e73ea98134556ef0d1 Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 19 Jun 2025 08:05:40 +0200 Subject: [PATCH] refactor: normalize name of detail pages --- ...-detail-adoption-notice.html => detail-adoption-notice.html} | 0 src/fellchensammlung/views.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/fellchensammlung/templates/fellchensammlung/details/{bulma-detail-adoption-notice.html => detail-adoption-notice.html} (100%) diff --git a/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/details/detail-adoption-notice.html similarity index 100% rename from src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html rename to src/fellchensammlung/templates/fellchensammlung/details/detail-adoption-notice.html diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index 5a0bd64..08ff84c 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -139,7 +139,7 @@ def adoption_notice_detail(request, adoption_notice_id): comment_form = CommentForm(instance=adoption_notice) context = {"adoption_notice": adoption_notice, "comment_form": comment_form, "user": request.user, "has_edit_permission": has_edit_permission, "is_subscribed": is_subscribed} - return render(request, 'fellchensammlung/details/bulma-detail-adoption-notice.html', context=context) + return render(request, 'fellchensammlung/details/detail-adoption-notice.html', context=context) @login_required()