You are here

status-property.html.twig in Apigee Edge 8

Default theme implementation to status_property_element.

Available variables:

  • element: Element that will be rendered.
  • element['value'] : the status string.

File

templates/status-property.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to status_property_element.
  5. *
  6. * Available variables:
  7. * - element: Element that will be rendered.
  8. * - element['value'] : the status string.
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. {%
  14. set classes = [
  15. 'wrapper--status',
  16. element.attributes.class
  17. ]
  18. %}
  19. <span {{ attributes.addClass(classes) }}>
  20. <span class="label-status">
  21. {{ element.value|render|capitalize|t }}
  22. </span>
  23. </span>