refactor: Remove non-bulma about
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
{% translate 'Über uns' %}
|
{% translate 'Über uns' %}
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
<a class="bd-footer-link" href="{% url "about-bulma" %}">
|
<a class="bd-footer-link" href="{% url "about" %}">
|
||||||
{% translate 'Das Notfellchen Projekt' %}
|
{% translate 'Das Notfellchen Projekt' %}
|
||||||
</a>
|
</a>
|
||||||
<br/>
|
<br/>
|
||||||
|
@@ -55,8 +55,7 @@ urlpatterns = [
|
|||||||
# ex: /vermitteln/
|
# ex: /vermitteln/
|
||||||
path("vermitteln/", views.add_adoption_notice_bulma, name="add-adoption"),
|
path("vermitteln/", views.add_adoption_notice_bulma, name="add-adoption"),
|
||||||
|
|
||||||
path("ueber-uns/", views.about, name="about"),
|
path("ueber-uns/", views.about_bulma, name="about"),
|
||||||
path("bulma/ueber-uns/", views.about_bulma, name="about-bulma"),
|
|
||||||
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("datenschutz/", views.privacy, name="privacy"),
|
path("datenschutz/", views.privacy, name="privacy"),
|
||||||
|
@@ -400,20 +400,6 @@ def animal_edit(request, animal_id):
|
|||||||
return render(request, 'fellchensammlung/forms/form-animal.html', context={"form": form})
|
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):
|
def about_bulma(request):
|
||||||
context = i18n.get_texts_by_language(["about_us", "faq"])
|
context = i18n.get_texts_by_language(["about_us", "faq"])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user