display edit button when the text is shown
This commit is contained in:
@@ -72,13 +72,15 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% get_flatpages '/fachschaft/' as pages %}
|
{% if members %}
|
||||||
{% if pages %}
|
{% get_flatpages '/fachschaft/' as pages %}
|
||||||
<li class="internalLI">
|
{% if pages %}
|
||||||
<a href="{% url 'admin:core_customflatpage_change' pages.first.id %}">
|
<li class="internalLI">
|
||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>Fachschaft-Text bearbeiten
|
<a href="{% url 'admin:core_customflatpage_change' pages.first.id %}">
|
||||||
</a>
|
<i class="fa-solid fa-pen-to-square mr-1"></i>Fachschaft-Text bearbeiten
|
||||||
</li>
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if member %}
|
{% if member %}
|
||||||
|
|||||||
Reference in New Issue
Block a user