Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation for a summary of an image rotate effect. Chris@0: * Chris@0: * Available variables: Chris@0: * - data: The current configuration for this resize effect, including: Chris@0: * - degrees: Degrees to rotate the image, positive values will rotate the Chris@0: * image clockwise, negative values counter-clockwise. Chris@0: * - bgcolor: The hex background color of the new areas created as consequence Chris@0: * of rotation. Chris@0: * - random: If the rotation angle is randomized. 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.random %} Chris@0: {% set degrees = data.degrees|abs %} Chris@0: {% trans %} Chris@0: random between -{{ degrees }}° and {{ degrees }}° Chris@0: {% endtrans %} Chris@0: {% else %} Chris@0: {{ data.degrees }}° Chris@0: {% endif %}