PHRAS-2671 #comment Fix behaviour of display tooltip #time 4h

This commit is contained in:
Harrys Ravalomanana
2019-07-19 12:04:19 +04:00
parent 5e2f8da2bb
commit 5bc66e8f23
2 changed files with 1 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
{% set previewHtml5 = null %}
{% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_subdef(record, 'preview') %}
{% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_subdef(record, 'preview') and record.has_preview == true %}
{% set preview_obj = record.get_preview() %}
{% else %}
{% set preview_obj = record.get_thumbnail() %}