generate pdf from agenda and protocol

This commit is contained in:
2021-05-05 07:12:55 +00:00
parent b036c0e8b2
commit b4437cbbd3
5 changed files with 88 additions and 10 deletions

View File

@@ -84,12 +84,23 @@
<hr>
{% if post.has_agenda %}
<a href="{{ ep_agenda_link }}">Agenda</a><br>
<a href="{{ ep_agenda_link }}">Agenda</a>
{% if filename_agenda %}
<a href="{% url 'posts.show_pdf' post.slug filename_agenda %}">
<i class="far fa-file-pdf"></i>
</a>
{% endif %}
<br>
{% endif %}
{% if post.has_protocol %}
<a href="{{ ep_protocol_link }}">Protokoll</a><br>
<a href="{{ ep_protocol_link }}">Protokoll</a>
{% if filename_protocol %}
<a href="{% url 'posts.show_pdf' post.slug filename_protocol %}">
<i class="far fa-file-pdf"></i>
</a>
{% endif %}
<br>
<hr>
{% endif %}