Mercurial > hg > Members > nobuyasu > TOModel
comparison app/views/errors/500.html @ 0:e45bf6020b0d draft
add play files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Sep 2012 04:36:47 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e45bf6020b0d |
---|---|
1 <!DOCTYPE html> | |
2 | |
3 <html> | |
4 <head> | |
5 <title>Application error</title> | |
6 <meta http-equiv="Content-Type" content="text/html; charset=${_response_encoding}"/> | |
7 </head> | |
8 <body> | |
9 #{if play.mode.name() == 'DEV'} | |
10 #{500 exception /} | |
11 #{/if} | |
12 #{else} | |
13 <h1>Oops, an error occured</h1> | |
14 #{if exception instanceof play.exceptions.PlayException} | |
15 <p> | |
16 This exception has been logged with id <strong>${exception.id}</strong>. | |
17 </p> | |
18 #{/if} | |
19 #{/else} | |
20 </body> | |
21 </html> |