{# /** * @file * Default theme implementation for a summary of an image contrast effect. * * Available variables: * - data: The current configuration for this contrast effect, including: * - level: The contrast adjustment level in percent. * - effect: The effect information, including: * - id: The effect identifier. * - label: The effect name. * - description: The effect description. * * @ingroup themeable */ #} {% apply spaceless %} {% if data.level > 0 %} {% trans %} +{{ data.level }}% {% endtrans %} {% elseif data.level < 0 %} {% trans %} {{ data.level }}% {% endtrans %} {% else %} {{ 'Unchanged'|t }} {% endif %} {% endapply %}