From 14752d9746a615712b79cbd0f09acc1133e187f4 Mon Sep 17 00:00:00 2001 From: moanos Date: Tue, 17 Jun 2025 07:02:24 +0200 Subject: [PATCH] refactor: Remove non-bulma about --- .../templates/fellchensammlung/bulma-footer.html | 2 +- src/fellchensammlung/urls.py | 3 +-- src/fellchensammlung/views.py | 14 -------------- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/bulma-footer.html b/src/fellchensammlung/templates/fellchensammlung/bulma-footer.html index 085f263..110e30e 100644 --- a/src/fellchensammlung/templates/fellchensammlung/bulma-footer.html +++ b/src/fellchensammlung/templates/fellchensammlung/bulma-footer.html @@ -29,7 +29,7 @@ {% translate 'Über uns' %} - + {% translate 'Das Notfellchen Projekt' %}
diff --git a/src/fellchensammlung/urls.py b/src/fellchensammlung/urls.py index 8e039d4..ea58257 100644 --- a/src/fellchensammlung/urls.py +++ b/src/fellchensammlung/urls.py @@ -55,8 +55,7 @@ urlpatterns = [ # ex: /vermitteln/ path("vermitteln/", views.add_adoption_notice_bulma, name="add-adoption"), - path("ueber-uns/", views.about, name="about"), - path("bulma/ueber-uns/", views.about_bulma, name="about-bulma"), + path("ueber-uns/", views.about_bulma, name="about"), path("impressum/", views.imprint, name="imprint"), path("terms-of-service/", views.terms_of_service, name="terms-of-service"), path("datenschutz/", views.privacy, name="privacy"), diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index 8cd7109..c3de7dd 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -400,20 +400,6 @@ def animal_edit(request, animal_id): return render(request, 'fellchensammlung/forms/form-animal.html', context={"form": form}) -def about(request): - rules = Rule.objects.all() - - legal = i18n.get_texts_by_language(["terms_of_service", "privacy_statement", "imprint", "about_us", "faq"]) - - context = {"rules": rules, } - context.update(legal) - return render( - request, - "fellchensammlung/about.html", - context=context - ) - - def about_bulma(request): context = i18n.get_texts_by_language(["about_us", "faq"])