Commit 1450c86b authored by Pietro Arturo Panetta's avatar Pietro Arturo Panetta
Browse files

Issue #3222822 by maurizio_akabit: Change the main view template

parent d409686c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
- Issue #3263332 by arturopanetta: Views: Exposed filters not aligned
- Issue #3260877: Block brandingdelsito quick edit contextual-links inherit logo a colour class
- Fixed tabledrag when bootstrap-italia is set as admin theme
- Issue #3222822 by maurizio_akabit: Change the main view template

# Summary 8.x-0.21
## Release notes
+8 −3
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
    dom_id ? 'js-view-dom-id-' ~ dom_id,
  ]
%}
<div{{ attributes.addClass(classes) }}>
<div{{ attributes.addClass(classes).removeClass(css_class|split(' ')) }}>
  {{ title_prefix }}
  {% if title %}
    {{ title }}
@@ -62,9 +62,14 @@
  {% endif %}

  {% if rows %}
    <!-- div class="view-content" -->
    {# Using if for retrocompatibility with bootstrap_italia < 8.x-0.21 #}
    {% if css_class %}
      <div class="view-content {{ css_class }}">
        {{ rows }}
    <!-- /div -->
      </div>
    {% else %}
      {{ rows }}
    {% endif %}
  {% elseif empty %}
    <div class="view-empty">
      {{ empty }}