This commit is contained in:
2020-09-08 11:55:05 +00:00
3 changed files with 28 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% load post_helpers %}
{% load thumbnail %}{% load admin_urls %}
{% load admin_urls %}
{% block content %}
<div class="large-article-header" style="background-image:url('{{post.imageurl}}')">
@@ -44,7 +44,6 @@
<div class="cell medium-4">
{% include 'posts/partials/_date_box.html' %}
{% if post.has_agenda %}
<a href="{{ep_agenda_link}}">Agenda</a><br>
{% endif %}
@@ -54,9 +53,28 @@
{% endif %}
</div>
</div>
--
<a href="{% url "admin:posts_news_change" post.id %}">Bearbeiten</a>
Start: {{post.event_start}}<br>
Ende: {{post.event_end}}<br>
{% if post.has_agenda %}
<a href="{{ep_link.0}}">Agenda</a>
{% endif %}
{% if post.has_protocol %}
<a href="{{ep_link.1}}">Protokoll</a>
{% endif %}
{% if request.user.is_authenticated %}
<br>------<br>
<a href="{% url "admin:posts_news_change" post.id %}">Bearbeiten</a>
{% endif %}
<hr>
{{post.body | safe | add_internal_links | tags_to_url}}
<hr>
{% for tag in post.get_tagnames %}
{{tag |tags_to_url}}