add change button, only useable if login
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
<div class="cell padding-top-1 padding-left-1 padding-right-1" style="background-color: white; text-align: justify;">
|
||||
{% if fs_info %}
|
||||
{{ fs_info.content|safe }}
|
||||
|
||||
{% if request.user.is_authenticated %}
|
||||
<hr>
|
||||
<a href="{% url 'admin:core_customflatpage_change' fs_info.id %}">Fachschaft-Text bearbeiten</a>
|
||||
<hr>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user