Skip to content

Commit

Permalink
Add both dates tables
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Oct 7, 2024
1 parent a12c19d commit 72d5a41
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions templates/content/node--k-centre-profile.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,32 @@
</tr>
</tbody>
</table>
<table class='field__items table mx-sm-4 mt-sm-2 text-center'>
<thead>
<tr>
<th>
{{ content.field_initial_application_date['#title'] }}
</th>
<th>
{{ content.field_first_approval_date['#title'] }}
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
{{ content.field_initial_application_date.0 }}
</td>
<td>
{{ content.field_first_approval_date.0 }}
</td>
</tr>
</tbody>
</table>
{% 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', 'content.field_current_certification_date') }}
{{ 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', 'content.field_current_certification_date', 'field_initial_application_date', 'field_first_approval_date') }}
{% else %}
{{ content|without('field_k_centre_full_name', '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_tour_de_clarin_intro', 'field_tour_de_clarin_interview', 'field_resource_families', 'field_current_certification_expi', 'content.field_current_certification_date') }}
{{ content|without('field_k_centre_full_name', '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_tour_de_clarin_intro', 'field_tour_de_clarin_interview', 'field_resource_families', 'field_current_certification_expi', 'content.field_current_certification_date', 'field_initial_application_date', 'field_first_approval_date') }}
{% endif %}
</div>
{% if more_links %}
Expand Down

0 comments on commit 72d5a41

Please sign in to comment.