diff --git a/core/modules/views/templates/views-view-table.html.twig b/core/modules/views/templates/views-view-table.html.twig index 6778ee8..f3bc6e4 100644 --- a/core/modules/views/templates/views-view-table.html.twig +++ b/core/modules/views/templates/views-view-table.html.twig @@ -30,14 +30,12 @@ */ #} - {% if title is not empty %} - {{ title }} - {% endif %} {% if caption_needed %} + {% if caption %} - {{ caption }} + {{ caption }} {% else %} - {{ title }} + {{ title }} {% endif %} {% if (summary is not empty) or (description is not empty) %}
@@ -45,10 +43,11 @@ {{ summary }} {% endif %} {% if description is not empty %} - {{ description }} + {{ description }} {% endif %}
{% endif %} + {% endif %} {% if header %}