add rel="image-preview-popover"

This commit is contained in:
Oli 2019-05-24 10:20:29 +02:00 committed by GitHub
parent edabc8eee9
commit f31bf2824e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@
<tr{% if not attachment.size %} class="danger"{% endif %}> <tr{% if not attachment.size %} class="danger"{% endif %}>
<td> <td>
<i class="fa fa-image"></i> <i class="fa fa-image"></i>
<a href="{{ attachment.image.url }}" target="_blank">{{ attachment }}</a> <a href="{{ attachment.image.url }}" rel="image-preview-popover" target="_blank">{{ attachment }}</a>
</td> </td>
<td>{{ attachment.size|filesizeformat }}</td> <td>{{ attachment.size|filesizeformat }}</td>
<td>{{ attachment.created }}</td> <td>{{ attachment.created }}</td>