add change button, only useable if login
This commit is contained in:
@@ -105,11 +105,11 @@
|
||||
{% endif %}
|
||||
|
||||
{% if post.post_type == 'N' %}
|
||||
<a href="{% url 'admin:posts_news_change' post.id %}">Bearbeiten</a>
|
||||
<a href="{% url 'admin:posts_news_change' post.id %}">Post bearbeiten</a>
|
||||
{% elif post.post_type == 'E' %}
|
||||
<a href="{% url 'admin:posts_event_change' post.id %}">Bearbeiten</a>
|
||||
<a href="{% url 'admin:posts_event_change' post.id %}">Event bearbeiten</a>
|
||||
{% elif post.post_type == 'F' %}
|
||||
<a href="{% url 'admin:posts_fetmeeting_change' post.id %}">Bearbeiten</a>
|
||||
<a href="{% url 'admin:posts_fetmeeting_change' post.id %}">FET Sitzung bearbeiten</a>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user