add protocoll link if available
This commit is contained in:
@@ -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}}')">
|
||||
@@ -39,17 +39,21 @@
|
||||
<br>
|
||||
<a href="{% url 'posts.show' next %}">Nächster Artikel</a><br>
|
||||
{% include 'posts/partials/_date_box.html' %}
|
||||
{{post.event_start}}
|
||||
{{post.event_end}}
|
||||
Start: {{post.event_start}}<br>
|
||||
Ende: {{post.event_end}}<br>
|
||||
|
||||
{% if post.has_agenda %}
|
||||
<a href="{{ep_link}}">EP</a>
|
||||
<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}}
|
||||
|
||||
Reference in New Issue
Block a user