feat: Add contact site

This commit is contained in:
2025-09-17 20:02:20 +02:00
parent c71a1940dd
commit 962f2ae86c
3 changed files with 10 additions and 0 deletions

View File

@@ -34,6 +34,10 @@
{% translate 'Das Notfellchen Projekt' %} {% translate 'Das Notfellchen Projekt' %}
</a> </a>
<br/> <br/>
<a href="{% url "contact" %}">
{% translate 'Kontakt' %}
</a>
<br/>
<a href="{% url "buying" %}"> <a href="{% url "buying" %}">
{% translate 'Ratten kaufen' %} {% translate 'Ratten kaufen' %}
</a> </a>

View File

@@ -61,6 +61,7 @@ urlpatterns = [
path("ueber-uns/", views.about, name="about"), path("ueber-uns/", views.about, name="about"),
path("impressum/", views.imprint, name="imprint"), path("impressum/", views.imprint, name="imprint"),
path("terms-of-service/", views.terms_of_service, name="terms-of-service"), path("terms-of-service/", views.terms_of_service, name="terms-of-service"),
path("kontakt/", views.contact, name="contact"),
path("datenschutz/", views.privacy, name="privacy"), path("datenschutz/", views.privacy, name="privacy"),
path("ratten-kaufen/", views.buying, name="buying"), path("ratten-kaufen/", views.buying, name="buying"),

View File

@@ -509,6 +509,11 @@ def terms_of_service(request):
) )
def contact(request):
text = i18n.get_text_by_language("contact")
return render_text(request, text)
def report_adoption(request, adoption_notice_id): def report_adoption(request, adoption_notice_id):
""" """
Form to report adoption notices Form to report adoption notices