Commit 57dd65ec authored by Stephen Mustgrave's avatar Stephen Mustgrave
Browse files

SA Advisory 2026-1

parent e8483ff2
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for modules/uswds_paragraph_components_cards/templates/paragraph--uswds-card-group-flag.html.twig: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@
        {% for subkey, subitem in item['#paragraph'].field_card_breakpoints|filter((subitem, subkey) => subkey|first != '#') -%}
          {% set values = item['#paragraph'].field_card_breakpoints[subkey].entity %}
          {% set breakpoint = values.field_uswds_breakpoints.entity.name.value %}
          {% set num_column = values.field_number_of_columns.value|raw %}
          {% set num_column = values.field_number_of_columns.value %}
          {% if breakpoint and num_column %}
            {% if breakpoint == 'mobile' %}
              {% set breakpoints = breakpoints|merge([
@@ -118,7 +118,7 @@
              <a href="{{ item['#paragraph'].field_button.0.url }}" class="text-no-underline card-link text-ink"
                 title="{{ title }}">
                {% endif %}
                {{ item['#paragraph'].field_text.value|raw }}
                {{ item['#paragraph'].field_text.processed }}
                {% if card_link %}
              </a>
              {% endif %}
@@ -126,7 +126,7 @@
          {% else %}
            {% if item['#paragraph'].field_text.value %}
              <div class="usa-card__body">
                {{ item['#paragraph'].field_text.value|raw }}
                {{ item['#paragraph'].field_text.processed }}
              </div>
            {% endif %}
          {% endif %}
+3 −3
Changes for modules/uswds_paragraph_components_cards/templates/paragraph--uswds-card-group-regular.html.twig: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@
        {% for subkey, subitem in item['#paragraph'].field_card_breakpoints|filter((subitem, subkey) => subkey|first != '#') -%}
          {% set values = item['#paragraph'].field_card_breakpoints[subkey].entity %}
          {% set breakpoint = values.field_uswds_breakpoints.entity.name.value %}
          {% set num_column = values.field_number_of_columns.value|raw %}
          {% set num_column = values.field_number_of_columns.value %}
          {% if breakpoint and num_column %}
            {% if breakpoint == 'mobile' %}
              {% set breakpoints = breakpoints|merge([
@@ -108,7 +108,7 @@
              <a href="{{ item['#paragraph'].field_button.0.url }}" class="text-no-underline card-link text-ink"
                 title="{{ title }}">
                {% endif %}
                {{ item['#paragraph'].field_text.value|raw }}
                {{ item['#paragraph'].field_text.processed }}
                {% if card_link %}
              </a>
              {% endif %}
@@ -116,7 +116,7 @@
          {% else %}
            {% if item['#paragraph'].field_text.value %}
              <div class="usa-card__body">
                {{ item['#paragraph'].field_text.value|raw }}
                {{ item['#paragraph'].field_text.processed }}
              </div>
            {% endif %}
          {% endif %}
+1 −1
Changes for modules/uswds_paragraph_components_cards/templates/regular-cards.html.twig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

    {% if item['#paragraph'].field_text.value %}
      <div class="usa-card__body">
        {{ item['#paragraph'].field_text.value|raw }}
        {{ item['#paragraph'].field_text.processed }}
      </div>
    {% endif %}

+1 −1
Changes for modules/uswds_paragraph_components_columns/templates/paragraph--uswds-2-columns.html.twig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
    {% for key, item in content.field_uswds_2_column_breakpoints|filter((v, k) => k|first != '#') -%}
      {% set values = content.field_uswds_2_column_breakpoints[key]['#paragraph'] %}
      {% set breakpoint = values.field_uswds_breakpoints.entity.name.value %}
      {% set column = values.field_2_column_grid_options.value|raw %}
      {% set column = values.field_2_column_grid_options.value %}

      {% if breakpoint and column %}
        {% if breakpoint == 'mobile' %}
+1 −1
Changes for modules/uswds_paragraph_components_columns/templates/paragraph--uswds-3-columns.html.twig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@
    {% for key, item in content.field_uswds_3_column_breakpoints|filter((v, k) => k|first != '#') -%}
      {% set values = content.field_uswds_3_column_breakpoints[key]['#paragraph'] %}
      {% set breakpoint = values.field_uswds_breakpoints.entity.name.value %}
      {% set column = values.field_3_column_grid_options.value|raw %}
      {% set column = values.field_3_column_grid_options.value %}

      {% if breakpoint and column %}
        {% if breakpoint == 'mobile' %}