Moved everything relating to cases into opencase_cases module

This commit is contained in:
2021-02-08 17:27:18 +00:00
parent 2895dcdab8
commit 5afbeb956b
38 changed files with 107 additions and 103 deletions

View File

@ -1,23 +0,0 @@
{#
/**
* @file
* Default theme implementation to present a list of custom content entity types/bundles.
*
* Available variables:
* - types: A collection of all the available custom entity types/bundles.
* Each type/bundle contains the following:
* - link: A link to add a content entity of this type.
* - description: A description of this content entity types/bundle.
*
* @see template_preprocess_oc_case_content_add_list()
*
* @ingroup themeable
*/
#}
{% spaceless %}
<dl>
{% for type in types %}
<dt>{{ type.link }}</dt>
{% endfor %}
</dl>
{% endspaceless %}

View File

@ -1,38 +0,0 @@
{#
/**
* @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') }}>
<h2>{{ title }}</h2>
<div class="oc_entity">
<div class="left">
{{ base_fields.actors_involved }}
{{ base_fields.changed }}
{{ base_fields.created }}
{{ base_fields.user_id }}
</div>
<div class="right">
{% for field in other_fields %}
{{ field }}
{% endfor %}
</div>
<div class="eva_fields">
{% for field in eva_fields %}
{{ field }}
{% endfor %}
</div>
</div>
</div>