Skip to content

Commit

Permalink
Merge pull request #168 from openeuropa/OEL-1577-v2
Browse files Browse the repository at this point in the history
OEL-1577: Javascript fallback message.
  • Loading branch information
escuriola authored Jul 13, 2022
2 parents 00fe3c3 + d340446 commit ed15370
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/overrides/page/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@
{{ page.hero }}
<div class="container mt-md-4-75 mt-4">
<div class="row">
{% block noscript %}
<noscript>
{{ pattern('alert', {
variant: 'warning',
message: 'Please enable JavaScript and reload the page.'|t,
dismissible: false,
icon: 'exclamation-triangle-fill',
}) }}
</noscript>
{% endblock %}
{% if page.highlighted %}
{{ page.highlighted }}
{% endif %}
Expand Down

0 comments on commit ed15370

Please sign in to comment.