Rename support-navigator-banner to outdated-browser-banner

This commit is contained in:
gregoirenovel 2018-09-03 11:40:08 +02:00
parent 1b545123fa
commit bdb961f280
6 changed files with 6 additions and 6 deletions

View file

@ -38,7 +38,7 @@
// = require recapitulatif // = require recapitulatif
// = require search // = require search
// = require siret // = require siret
// = require support_navigator_banner // = require outdated_browser_banner
// = require switch_menu // = require switch_menu
// = require autocomplete // = require autocomplete
// = require users // = require users

View file

@ -1,7 +1,7 @@
@import "colors"; @import "colors";
@import "constants"; @import "constants";
#support-navigator-banner { #outdated-browser-banner {
width: 100%; width: 100%;
bottom: 0; bottom: 0;
left: 0; left: 0;

View file

@ -1,4 +1,4 @@
#support-navigator-banner { #outdated-browser-banner {
position: fixed; position: fixed;
text-align: center; text-align: center;
line-height: 2em; line-height: 2em;

View file

@ -1,6 +1,6 @@
-# See config/browser.rb -# See config/browser.rb
- if !browser.modern? - if !browser.modern?
#support-navigator-banner #outdated-browser-banner
.container .container
Attention, votre navigateur (#{browser.name} #{browser.version}) est trop ancien pour utiliser demarches-simplifiees.fr : certaines parties du site ne fonctionneront pas correctement. Nous vous recommendons fortement de Attention, votre navigateur (#{browser.name} #{browser.version}) est trop ancien pour utiliser demarches-simplifiees.fr : certaines parties du site ne fonctionneront pas correctement. Nous vous recommendons fortement de
%a{ href: "https://browser-update.org/fr/update.html", target: "_blank" }mettre à jour votre navigateur %a{ href: "https://browser-update.org/fr/update.html", target: "_blank" }mettre à jour votre navigateur

View file

@ -21,7 +21,7 @@
sentry: #{raw(sentry_config)} sentry: #{raw(sentry_config)}
}]; }];
%body %body
= render partial: 'layouts/support_navigator_banner' = render partial: 'layouts/outdated_browser_banner'
= render partial: 'layouts/pre_maintenance' = render partial: 'layouts/pre_maintenance'
- if staging? - if staging?
#beta #beta

View file

@ -27,7 +27,7 @@
}]; }];
%body %body
.page-wrapper .page-wrapper
= render partial: "layouts/support_navigator_banner" = render partial: "layouts/outdated_browser_banner"
= render partial: 'layouts/pre_maintenance' = render partial: 'layouts/pre_maintenance'
- if staging? - if staging?
#beta #beta