From e1a2e59867660c309c0dc0e9e0989b0edc88bbab Mon Sep 17 00:00:00 2001 From: "Ryan P Letulle (CGI)" <92539208+ryanletulle@users.noreply.github.com> Date: Mon, 12 Jun 2023 16:12:20 -0500 Subject: [PATCH] Update Redel Twig --- .../templates/node--re-delegation.html.twig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docroot/themes/custom/epa_intranet/templates/node--re-delegation.html.twig b/docroot/themes/custom/epa_intranet/templates/node--re-delegation.html.twig index 6dccf3c69..c4bf54c12 100644 --- a/docroot/themes/custom/epa_intranet/templates/node--re-delegation.html.twig +++ b/docroot/themes/custom/epa_intranet/templates/node--re-delegation.html.twig @@ -126,19 +126,21 @@ {{ content.field_agency_delegation_link }} {{ content.field_transmittal_notice }}
    - {% if content.field_redelegation_authority is not empty %} + {% if content.field_redelegation_authority|render|trim is not empty %}
  1. {{ content.field_redelegation_authority }}
  2. {% endif %} - {% if content.field_to_whom_delegated is not empty %} + {% if content.field_to_whom_delegated|render|trim is not empty %}
  3. {{ content.field_to_whom_delegated }}
  4. {% endif %} - {% if content.field_limitation is not empty %} + {% if content.field_limitation|render|trim is not empty %}
  5. {{ content.field_limitation }} {{ content.field_limitations }}
  6. {% endif %} - {% if content.field_further_redelegation is not 'May not be redelegated.' %} + {% if 'May not be redelegated.' in content.field_further_redelegation|render|render %} +
  7. {{ content.field_further_redelegation }}
  8. + {% else %}
  9. {{ content.field_further_redelegation }}
  10. - {% else %} -
  11. content.field_further_redelegation
  12. {% endif %} - {% if content.field_references is not empty %} + {% if content.field_references|render|trim is not empty %}
  13. Authority Citations
    {% if content.field_references %} {{ content.field_references }} @@ -159,12 +159,12 @@
  14. {% endif %}
- {% if content.field_related_resources is not empty %} + {% if content.field_related_resources|render|trim is not empty %}
Related Resources
{{ content.field_related_resources }} {% endif %} - {% if content.field_signed_memo is not empty %} + {% if content.field_signed_memo|render|trim is not empty %}
Signed Memo
{{ content.field_signed_memo }} {% endif %}