diff options
| author | Michel Etienne | 2013-04-12 16:27:44 +0200 | 
|---|---|---|
| committer | Michel Etienne | 2013-04-12 16:27:44 +0200 | 
| commit | f6bd8ac8c79e2a213a6e0cc7495a5037514f7801 (patch) | |
| tree | 877d16ad2b30ae3017f0ac58dc4c2ea14b51c861 /app/views/errors | |
| parent | ee2940720904785e86c342ec95fa16780d5d6455 (diff) | |
| download | chouette-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.erb | 13 | ||||
| -rw-r--r-- | app/views/errors/server_error.html.erb | 14 | 
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ésolé, la page demandée n'existe pas</h2> +    <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'hésitez pas à nous décrire le problème</a>, nous essaierons de le résoudre.<br/>Merci d'avance<br/> <br/> +    Vous pouvez néanmoins continuer à 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ésolé, une erreur est survenue</h2> +    <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'hésitez pas à nous décrire le problème</a>, nous essaierons de le résoudre.<br/>Merci d'avance<br/> <br/> +    Vous pouvez néanmoins continuer à 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> + | 
