36 lines
908 B
Twig
36 lines
908 B
Twig
{#
|
|
/**
|
|
* @file oc_actor.html.twig
|
|
* Default theme implementation to present Actor data.
|
|
*
|
|
* This template is used when viewing Actor 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_actor()
|
|
*
|
|
* @ingroup themeable
|
|
*/
|
|
#}
|
|
<div{{ attributes.addClass('oc_actor') }}>
|
|
<div class="oc_entity">
|
|
<div class="left">
|
|
{% for field in fields_other_than_contact_details %}
|
|
{{ field }}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="right">
|
|
<div id ="contact_details">
|
|
<h2>Contact Details</h2>
|
|
<a class="field" href="/web/opencase/oc_actor/{{ id }}/contact_details_history">See history</a>
|
|
{% for field in contact_details %}
|
|
{{ field }}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|