aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/errors
diff options
context:
space:
mode:
authorjpl2017-04-04 13:46:11 +0200
committerjpl2017-04-04 13:46:53 +0200
commit3ee2b65fb1171c4c401ee26ba1d0b485548c28f8 (patch)
tree807fe25dd6579bc1fc9a9586a2b9b75e5ee9e270 /app/views/errors
parent055fa0b56c0a47482f098af079b5e0929be56acd (diff)
downloadchouette-core-3ee2b65fb1171c4c401ee26ba1d0b485548c28f8.tar.bz2
Refs #3033: adding 403 view
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/not_allowed.html.slim21
1 files changed, 21 insertions, 0 deletions
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."