Experimenting with a preview for attachments.

This commit is contained in:
James Cole
2015-07-19 18:37:29 +02:00
parent 4dbc135dce
commit 1656a2f11a
2 changed files with 58 additions and 1 deletions

View File

@@ -93,7 +93,7 @@
</td>
<td>
<i class="fa {{ att.mime|mimeIcon }}"></i>
<a href="{{ route('attachments.download', att.id) }}" title="{{ att.filename }}">
<a href="{{ route('attachments.download', att.id) }}" tle="{{ att.filename }}">
{% if att.title %}
{{ att.title }}
{% else %}
@@ -106,6 +106,9 @@
<em>{{ att.description }}</em>
{% endif %}
</td>
<td style="width:100px;">
<img src="{{ route('attachments.preview', att.id) }}"></img>
</td>
</tr>
{% endfor %}
</table>