Skip to content

Commit

Permalink
Update src/bundle/Resources/views/themes/admin/ui/field_type/preview/…
Browse files Browse the repository at this point in the history
…content_fields.html.twig

Co-authored-by: Paweł Niedzielski <[email protected]>
  • Loading branch information
vidarl and Steveb-p authored Dec 17, 2024
1 parent 83d19db commit f039e26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
<td>{{ 'ezimage.master_dimensions'|trans|desc('Master dimensions') }}:</td>
<td>{{ 'ezimage.width_and_height'|trans({'%width%': field.value.width, '%height%': field.value.height})|desc('Width: %width%px height: %height%px') }}</td>
</tr>
{% if field.value.height != '0' and field.value.height != '' %}
{% if field.value.height %}
<tr class="ibexa-field-preview__meta-value-row">
<td>{{ 'ezimage.ratio'|trans|desc('Ratio') }}:</td>
<td>{{ (field.value.width/field.value.height)|round(2) }}</td>
Expand Down

0 comments on commit f039e26

Please sign in to comment.