feat: add page dedicated to buying animals

This commit is contained in:
2025-07-14 06:18:56 +02:00
parent 5d53d1a1dc
commit 9f53836ce8
3 changed files with 10 additions and 0 deletions

View File

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

View File

@@ -54,6 +54,7 @@ urlpatterns = [
path("impressum/", views.imprint, name="imprint"),
path("terms-of-service/", views.terms_of_service, name="terms-of-service"),
path("datenschutz/", views.privacy, name="privacy"),
path("ratten-kaufen/", views.buying, name="buying"),
################
## Moderation ##

View File

@@ -473,6 +473,11 @@ def privacy(request):
return render_text(request, text)
def buying(request):
text = i18n.get_text_by_language("buying")
return render_text(request, text)
def terms_of_service(request):
text = i18n.get_text_by_language("terms_of_service")
rules = Rule.objects.all()