simplify urls and customflatpages
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% load flatpages %}
|
||||
{% load softhyphen_tags %}
|
||||
{% load static %}
|
||||
|
||||
@@ -71,9 +72,10 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if fs_info %}
|
||||
{% get_flatpages '/fachschaft/' as pages %}
|
||||
{% if pages %}
|
||||
<li class="internalLI">
|
||||
<a href="{% url 'admin:core_customflatpage_change' fs_info.id %}">
|
||||
<a href="{% url 'admin:core_customflatpage_change' pages.first.id %}">
|
||||
<i class="fa-regular fa-pen-to-square mr-1"></i>Fachschaft-Text bearbeiten
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user