protocol & grid post show

This commit is contained in:
2020-09-08 11:52:10 +00:00
parent f9dbd97a87
commit 5bf1ba3807
3 changed files with 21 additions and 14 deletions

View File

@@ -34,29 +34,36 @@
</div>
</div></div>
<div class="grid-container">
<div class="grid-x">
<div class="cell medium-8">
<h1>{{post.title | tags_to_url }}</h1>
<strong>{{post.subtitle | tags_to_url }}</strong><span class="nav fa fa-chevron-right fa-3x"></span>
<br>
<a href="{% url 'posts.show' next %}">Nächster Artikel</a><br>
</div>
<div class="cell medium-4">
{% include 'posts/partials/_date_box.html' %}
{{post.event_start}}
{{post.event_end}}
{% if post.has_agenda %}
<a href="{{ep_link}}">EP</a>
<a href="{{ep_agenda_link}}">Agenda</a><br>
{% endif %}
{% if post.has_protocol %}
<a href="{{ep_protocol_link}}">Protocol</a>
{% endif %}
</div>
</div>
--
<a href="{% url "admin:posts_news_change" post.id %}">Bearbeiten</a>
<hr>
{{post.body | safe | add_internal_links | tags_to_url}}
<hr>
{% for tag in post.get_tagnames %}
{{tag |tags_to_url}}
{% endfor %}
<hr>
{{post.body | safe | add_internal_links | tags_to_url}}
<hr>
<div class="grid-x grid-margin-x">