aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/errors
diff options
context:
space:
mode:
authorMichel Etienne2013-04-12 16:27:44 +0200
committerMichel Etienne2013-04-12 16:27:44 +0200
commitf6bd8ac8c79e2a213a6e0cc7495a5037514f7801 (patch)
tree877d16ad2b30ae3017f0ac58dc4c2ea14b51c861 /app/views/errors
parentee2940720904785e86c342ec95fa16780d5d6455 (diff)
downloadchouette-core-f6bd8ac8c79e2a213a6e0cc7495a5037514f7801.tar.bz2
manage error screens in chouette screens
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/not_found.html.erb13
-rw-r--r--app/views/errors/server_error.html.erb14
2 files changed, 27 insertions, 0 deletions
diff --git a/app/views/errors/not_found.html.erb b/app/views/errors/not_found.html.erb
new file mode 100644
index 000000000..8d761413f
--- /dev/null
+++ b/app/views/errors/not_found.html.erb
@@ -0,0 +1,13 @@
+ <div class="error">
+ <h2>D&eacute;sol&eacute;, la page demand&eacute;e n'existe pas</h2>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'h&eacute;sitez pas &agrave; nous d&eacute;crire le probl&egrave;me</a>, nous essaierons de le r&eacute;soudre.<br/>Merci d'avance<br/> <br/>
+ Vous pouvez n&eacute;anmoins continuer &agrave; utiliser l'application CHOUETTE<br/>
+ <br/>
+ <br/>
+ <br/>
+ <br/>
+ <h2>The page you were looking for doesn't exist.</h2>
+ You may have mistyped the address or the page may have moved. <br/>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">Please describe us what happened</a>, we'll try to come back with an answer. <br/>Thank you. <br/> <br/>
+ You can still continue the use the CHOUETTE application. <br/>
+ </div>
diff --git a/app/views/errors/server_error.html.erb b/app/views/errors/server_error.html.erb
new file mode 100644
index 000000000..0a000df2e
--- /dev/null
+++ b/app/views/errors/server_error.html.erb
@@ -0,0 +1,14 @@
+ <div class="error">
+ <h2>D&eacute;sol&eacute;, une erreur est survenue</h2>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'h&eacute;sitez pas &agrave; nous d&eacute;crire le probl&egrave;me</a>, nous essaierons de le r&eacute;soudre.<br/>Merci d'avance<br/> <br/>
+ Vous pouvez n&eacute;anmoins continuer &agrave; utiliser l'application CHOUETTE<br/>
+ <br/>
+ <br/>
+ <br/>
+ <br/>
+ <h2>We're sorry, but something went wrong.</h2>
+ You may have mistyped the address or the page may have moved. <br/>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">Please describe us what happened</a>, we'll try to come back with an answer. <br/>Thank you. <br/> <br/>
+ You can still continue the use the CHOUETTE application. <br/>
+ </div>
+