Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation for a summary of an image resize effect. Chris@0: * Chris@0: * Available variables: Chris@0: * - data: The current configuration for this resize effect, including: Chris@0: * - width: The width of the resized image. Chris@0: * - height: The height of the resized image. Chris@0: * - effect: The effect information, including: Chris@0: * - id: The effect identifier. Chris@0: * - label: The effect name. Chris@0: * - description: The effect description. Chris@0: * Chris@0: * @ingroup themeable Chris@0: */ Chris@0: #} Chris@0: {% if data.width and data.height -%} Chris@0: {{ data.width }}×{{ data.height }} Chris@0: {%- else -%} Chris@0: {% if data.width %} Chris@0: {% trans %} Chris@0: width {{ data.width }} Chris@0: {% endtrans %} Chris@0: {% elseif data.height %} Chris@0: {% trans %} Chris@0: height {{ data.height }} Chris@0: {% endtrans %} Chris@0: {% endif %} Chris@0: {%- endif %}