refactor: Remove non-bulma about
This commit is contained in:
@@ -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/>
|
||||
|
@@ -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"),
|
||||
|
@@ -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"])
|
||||
|
||||
|
Reference in New Issue
Block a user