show-hide files combined into one js file

This commit is contained in:
2022-01-25 14:45:38 +01:00
parent 2ccc6f1976
commit f0e349a2b0
5 changed files with 43 additions and 71 deletions

View File

@@ -5,16 +5,12 @@
{% block title %}{{ 'Person resources'|trans|capitalize ~ ' ' ~ person|chill_entity_render_string }}{% endblock %}
{% block js %}
{{ encore_entry_script_tags('page_person_resource_person_input') }}
{{ encore_entry_script_tags('page_person_resource_thirdparty_input') }}
{{ encore_entry_script_tags('page_person_resource_freetext_input') }}
{{ encore_entry_script_tags('page_person_resource_showhide_input') }}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block css %}
{{ encore_entry_link_tags('page_person_resource_person_input') }}
{{ encore_entry_link_tags('page_person_resource_thirdparty_input') }}
{{ encore_entry_link_tags('page_person_resource_freetext_input') }}
{{ encore_entry_link_tags('page_person_resource_showhide_input') }}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
@@ -63,17 +59,15 @@
</div>
</div>
</div>
<div class="item-row">
<section class="chill-entity entity-comment-embeddable">
{% if resource.kind %}
<blockquote class="chill-user-quote">
<div>{{ resource.comment.comment }}<div>
</blockquote>
{% else %}
<p class="chill-no-data-statement">{{ 'no comment found'|trans|capitalize }}</p>
{% endif %}
</section>
</div>
{% if resource.kind %}
<div class="item-row separator">
<section class="chill-entity entity-comment-embeddable">
<blockquote class="chill-user-quote">
<div>{{ resource.comment.comment }}<div>
</blockquote>
</section>
</div>
{% endif %}
<div class="item-row separator">
<div class="item-col">
<ul class="record_actions">