Skip to content

Commit

Permalink
Do draw date fileds when not existing
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Oct 9, 2024
1 parent 5a5fcfa commit 3924f4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/content/node--k-centre-profile.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
</div>
{% endif %}
{{ content.field_keywords }}
{% if content.field_current_certification_date.0 or content.field_current_certification_expi.0 or content.field_initial_application_date.0 or content.field_first_approval_date.0 %}
<div class="assessment-dates pb-4">
<a class="collapse-toggle collapsed" href="#collapsible-dates" data-bs-toggle="collapse" title="Click to expand">Assessment dates&nbsp;</a>
<div class="collapse" id="collapsible-dates">
Expand Down Expand Up @@ -132,6 +133,7 @@
</table>
</div>
</div>
{% endif %}
{% if more_links %}
{{ content|without('field_see_also_links', 'field_generic_topics', 'field_portal_languages', 'field_data_types', 'field_language_processing', 'field_linguistic_topics', 'field_modalities', 'field_languages', 'field_service_types', 'field_competence_area', 'field_k_centre_website_url', 'field_audiences', 'field_k_centre_full_name', 'field_tour_de_clarin_intro', 'field_tour_de_clarin_interview', 'field_resource_families', 'field_current_certification_expi', 'field_current_certification_date', 'field_initial_application_date', 'field_first_approval_date', 'field_keywords', 'links') }}
{% else %}
Expand Down

0 comments on commit 3924f4d

Please sign in to comment.