add mime types to documents

This commit is contained in:
2018-06-07 15:31:20 +02:00
parent b5bf8b8884
commit 299491cb5b
6 changed files with 74 additions and 96 deletions

View File

@@ -49,7 +49,7 @@
<ul class="record_actions">
{% if is_granted('CHILL_PERSON_DOCUMENT_SEE_DETAILS', document) %}
<li>
{{ m.download_button(document.object) }}
{{ m.download_button(document.object, document.title) }}
</li>
<li>
<a href="{{ path('person_document_show', {'person': person.id, 'id': document.id}) }}" class="sc-button">