feat: Add contact site
This commit is contained in:
@@ -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>
|
||||||
|
@@ -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"),
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user