You are here

iek-image-border-summary.html.twig in Image effect kit 8

Default theme implementation for a summary of an image effect.

Available variables:

  • data: The current configuration for this effect, including:

    • border_color: image border color, in Hex format as #cccccc.
    • border_thick_top: image top border thick, in pixels.
    • border_thick_right: image right border thick, in pixels.
    • border_thick_bottom: image bottom border thick, in pixels.
    • border_thick_left: image left border thick, in pixels.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/iek-image-border-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of an image effect.
  5. *
  6. * Available variables:
  7. * - data: The current configuration for this effect, including:
  8. * - border_color: image border color, in Hex format as #cccccc.
  9. * - border_thick_top: image top border thick, in pixels.
  10. * - border_thick_right: image right border thick, in pixels.
  11. * - border_thick_bottom: image bottom border thick, in pixels.
  12. * - border_thick_left: image left border thick, in pixels.
  13. * - effect: The effect information, including:
  14. * - id: The effect identifier.
  15. * - label: The effect name.
  16. * - description: The effect description.
  17. *
  18. * @ingroup themeable
  19. */
  20. #}
  21. <i>(
  22. {% if data.border_color %}
  23. {% trans %}border color{% endtrans %}: <b>{{ data.border_color }}</b>,
  24. {% endif %}
  25. {% if data.border_thick_top %}
  26. {% trans %}border top{% endtrans %}: <b>{{ data.border_thick_top }}px</b>,
  27. {% endif %}
  28. {% if data.border_thick_right %}
  29. {% trans %}border right{% endtrans %}: <b>{{ data.border_thick_right }}px</b>,
  30. {% endif %}
  31. {% if data.border_thick_bottom %}
  32. {% trans %}border bottom{% endtrans %}: <b>{{ data.border_thick_bottom }}px</b>,
  33. {% endif %}
  34. {% if data.border_thick_left %}
  35. {% trans %}border left{% endtrans %}: <b>{{ data.border_thick_left }}px</b>
  36. {% endif %}
  37. )</i>