PHRAS-2665

This commit is contained in:
Harrys Ravalomanana
2019-07-23 11:29:00 +04:00
parent 954e04477d
commit 86484c6580

View File

@@ -52,7 +52,7 @@
{% set prevRatio = '' %} {% set prevRatio = '' %}
{% if width and height %} {% if width and height %}
{% set ratio = (width / height)|number_format(3, '.') %} {% set ratio = (width / height)|number_format(2, '.') %}
{% endif %} {% endif %}
{#Set the document Ratio #} {#Set the document Ratio #}
@@ -63,7 +63,7 @@
{% if width and height %} {% if width and height %}
{% if subdef.get_name()=='preview' %} {% if subdef.get_name()=='preview' %}
{% set prevRatio = (width / height)|number_format(3, '.') %} {% set prevRatio = (width / height)|number_format(2, '.') %}
{% endif %} {% endif %}
{% endif %} {% endif %}