From 3ee2b65fb1171c4c401ee26ba1d0b485548c28f8 Mon Sep 17 00:00:00 2001 From: jpl Date: Tue, 4 Apr 2017 13:46:11 +0200 Subject: Refs #3033: adding 403 view --- app/views/errors/not_allowed.html.slim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/views/errors/not_allowed.html.slim (limited to 'app/views/errors') diff --git a/app/views/errors/not_allowed.html.slim b/app/views/errors/not_allowed.html.slim new file mode 100644 index 000000000..6c94328cc --- /dev/null +++ b/app/views/errors/not_allowed.html.slim @@ -0,0 +1,21 @@ +/ PageHeader += pageheader 'bug', + 'Erreur 403', + '' + +.page_content + .container-fluid + .row + .col-lg-12 + .alert.alert-danger + - if I18n.locale == :fr + p + strong = "Désolé, la page demandée la page n'est pas accessible avec votre profil utilisateur." + + p = "Vous pouvez néanmoins continuer à utiliser l'application IBOO." + + - else + p + strong = "You are not allowed to access the page you were looking for." + + p = "You can still continue the use the IBOO application. Thank you for understanding." -- cgit v1.2.3