Move JS disabled warning message to the i18n configuration file

lektura
Eric Cornelissen 2018-03-15 14:45:32 +01:00
parent 6cf9b17703
commit c0e473e221
2 changed files with 3 additions and 1 deletions

View File

@ -10,3 +10,5 @@ other = "International NGOs"
other = "National NGOs"
[organisations_regional_ngo]
other = "Regional NGOs"
[javascript_warning]
other = "<b>Warning:</b> Interactive features will not work with JavaScript disabled."

View File

@ -1,6 +1,6 @@
{{ "<!-- NAVIGATION -->" | safeHTML }}
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top affix">
<noscript><b>Warning:</b> Interactive features will not work with JavaScript disabled.</noscript>
<noscript>{{ i18n "javascript_warning" | safeHTML }}</noscript>
<div class="container-fluid">
{{ "<!-- Brand and toggle get grouped for better mobile display -->" | safeHTML }}
<div class="navbar-header">