mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-28 06:44:39 +02:00
Improved rendering of attachment icons
This commit is contained in:
parent
52e459ec60
commit
5aaba102a7
2 changed files with 9 additions and 9 deletions
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro attachment_icon(attachment, attachment_helper, class = "fa-fw fas fa-3x", link = true) %}
|
||||
{% macro attachment_icon(attachment, attachment_helper, class = "fa-fw fas fa-3x hoverpic", link = true) %}
|
||||
{% set disabled = attachment.secure and not is_granted("show_secure", attachment) %}
|
||||
{% if not attachment_helper or attachment_helper.fileExisting(attachment) %}
|
||||
{% if link and not disabled %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue