potentail back url
parent
92a53b6de5
commit
8964ab724f
@ -0,0 +1,11 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% with ancestors|last as last %}
|
||||
{% if ancestors|length > 3 or request.current_page.parent.reverse_id == 'calendar' or request.current_page.parent.reverse_id == 'news' %}
|
||||
<a href="{{ last.parent.get_absolute_url }}" class="button button--small">
|
||||
<span class="button__icon">{% include 'project/assets/arrow-left-long.svg' %}</span>
|
||||
<span class="button__text">{% trans 'Zurück' %}</span>
|
||||
</a>
|
||||
<br><br><br>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
Loading…
Reference in New Issue