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