refactor: Remove non-bulma about

This commit is contained in:
2025-06-17 07:02:24 +02:00
parent a8b2bd4e90
commit 14752d9746
3 changed files with 2 additions and 17 deletions

View File

@@ -29,7 +29,7 @@
{% translate 'Über uns' %}
</h4>
<a class="bd-footer-link" href="{% url "about-bulma" %}">
<a class="bd-footer-link" href="{% url "about" %}">
{% translate 'Das Notfellchen Projekt' %}
</a>
<br/>

View File

@@ -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"),

View File

@@ -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"])