Icons for attachments.

This commit is contained in:
James Cole
2015-07-19 11:47:56 +02:00
parent be030f15c4
commit f12dfc8a14
2 changed files with 23 additions and 2 deletions

View File

@@ -92,7 +92,7 @@
</div>
</td>
<td>
<i class="fa fa-file-pdf-o"></i>
<i class="fa {{ att.mime|mimeIcon }}"></i>
<a href="{{ route('attachment.download', att.id) }}" title="{{ att.filename }}">
{% if att.title %}
{{ att.title }}