diff --git a/web/themes/custom/opdavies/templates/views-mini-pager.html.twig b/web/themes/custom/opdavies/templates/views-mini-pager.html.twig new file mode 100644 index 000000000..44d5c5476 --- /dev/null +++ b/web/themes/custom/opdavies/templates/views-mini-pager.html.twig @@ -0,0 +1,41 @@ +{# +/** + * @file + * Default theme implementation for a views mini-pager. + * + * Available variables: + * - heading_id: Pagination heading ID. + * - pagination_heading_level: The heading level to use for the pager. + * - items: List of pager items. + * + * @see template_preprocess_views_mini_pager() + * + * @ingroup themeable + */ +#} +{% if items.previous or items.next %} + +{% endif %} diff --git a/web/themes/custom/opdavies/templates/views-view--daily-email-archive.html.twig b/web/themes/custom/opdavies/templates/views-view--daily-email-archive.html.twig index 8f371f4c1..14cbb9083 100644 --- a/web/themes/custom/opdavies/templates/views-view--daily-email-archive.html.twig +++ b/web/themes/custom/opdavies/templates/views-view--daily-email-archive.html.twig @@ -42,23 +42,21 @@ {{ title }} {{ title_suffix }} -
-
- {% if header %} -
- {{ header }} -
- {% endif %} +
+ {% if header %} +
+ {{ header }} +
+ {% endif %} - {{ exposed }} - {{ attachment_before }} + {{ exposed }} + {{ attachment_before }} - {% if rows -%} - {{ rows }} - {% elseif empty -%} - {{ empty }} - {% endif %} -
+ {% if rows -%} + {{ rows }} + {% elseif empty -%} + {{ empty }} + {% endif %} {{ pager }}