This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/modules/opencase_cases/templates/oc_case.html.twig

26 lines
616 B
Twig

{#
/**
* @file oc_case.html.twig
* Default theme implementation to present Case data.
*
* This template is used when viewing Case pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_oc_case()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('oc_case') }}>
{% if normal_fields %}
<div id='static_data'>{{- normal_fields -}}</div>
{% endif %}
{% if extra_fields %}
<div id='dynamic_data'>{{- extra_fields -}}</div>
{% endif %}
</div>