diff options
| -rw-r--r-- | app/views/errors/not_found.html.erb | 13 | ||||
| -rw-r--r-- | app/views/errors/not_found.html.slim | 31 | ||||
| -rw-r--r-- | app/views/errors/server_error.html.erb | 14 | ||||
| -rw-r--r-- | app/views/errors/server_error.html.slim | 33 | 
4 files changed, 64 insertions, 27 deletions
| diff --git a/app/views/errors/not_found.html.erb b/app/views/errors/not_found.html.erb deleted file mode 100644 index 8d761413f..000000000 --- a/app/views/errors/not_found.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -  <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/not_found.html.slim b/app/views/errors/not_found.html.slim new file mode 100644 index 000000000..30107d2dc --- /dev/null +++ b/app/views/errors/not_found.html.slim @@ -0,0 +1,31 @@ +.error +  h2 = "Désolé, la page demandée n'existe pas" + +  a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank" +    = "N'hésitez pas à nous décrire le problème" +  = ", nous essaierons de le résoudre." +  br +  = "Merci d'avance" +  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." +   +  = "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" +  = ", we'll try to come back with an answer." +  br +  = "Thank you." +  br +  br +  = "You can still continue the use the CHOUETTE application." +  br
\ No newline at end of file diff --git a/app/views/errors/server_error.html.erb b/app/views/errors/server_error.html.erb deleted file mode 100644 index 0a000df2e..000000000 --- a/app/views/errors/server_error.html.erb +++ /dev/null @@ -1,14 +0,0 @@ -  <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> - diff --git a/app/views/errors/server_error.html.slim b/app/views/errors/server_error.html.slim new file mode 100644 index 000000000..3fe910196 --- /dev/null +++ b/app/views/errors/server_error.html.slim @@ -0,0 +1,33 @@ +.error +  h2 = "Désolé, une erreur est survenue" + +  a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank" +    = "N'hésitez pas à nous décrire le problème" +  = ", 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." +   +  = "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" +  = ", we'll try to come back with an answer." +  br +  = "Thank you." +  br +  br + +  = "You can still continue the use the CHOUETTE application." +  br
\ No newline at end of file | 
