add change button, only useable if login

This commit is contained in:
2021-05-28 17:11:07 +00:00
parent 57c08bd503
commit d58b77cbdc
4 changed files with 28 additions and 5 deletions

View File

@@ -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>