Skip to content

Commit

Permalink
Merge pull request #204 from openeuropa/OEL-1806
Browse files Browse the repository at this point in the history
OEL-1806: Show HR only when pager has items.
  • Loading branch information
brummbar authored Dec 20, 2022
2 parents 86f2ee2 + 055dccf commit 484de34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/overrides/navigation/pager.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#}
{% extends "@oe_bootstrap_theme/overrides/navigation/pager.html.twig" %}
{% block pager %}
<hr class="d-none d-md-block mt-4-5">
{{ parent()}}
{% if items %}
<hr class="d-none d-md-block mt-4-5">
{{ parent()}}
{% endif %}
{% endblock %}

0 comments on commit 484de34

Please sign in to comment.