aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/errors
diff options
context:
space:
mode:
authorVlatka Pavisic2017-04-25 16:00:32 +0200
committerVlatka Pavisic2017-04-25 16:00:41 +0200
commit5848e03e9655d74cdea84eb66286cf7696ee2ee4 (patch)
tree2ad273711ec9e3447bac1e5dfc80b8143de8e20f /app/views/errors
parent389b10c7ad29f7a7c085d3c361144450ba10fcd5 (diff)
downloadchouette-core-5848e03e9655d74cdea84eb66286cf7696ee2ee4.tar.bz2
Refs #3033 : Redirect to 403 page if not authorised
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/forbidden.html.slim (renamed from app/views/errors/not_allowed.html.slim)6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/errors/not_allowed.html.slim b/app/views/errors/forbidden.html.slim
index 6c94328cc..4ca3a6dbf 100644
--- a/app/views/errors/not_allowed.html.slim
+++ b/app/views/errors/forbidden.html.slim
@@ -11,11 +11,11 @@
- 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."