diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-10 13:54:57 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-10 13:54:57 +0100 |
commit | fcf5549584b69e62b6c2f0eb919f6799c7904211 (patch) | |
tree | e5f0e480af0f39f1c0f457ea0aca8d33f8fb4d0b /templates/exception_.html.ep | |
parent | df59f9dec32d7f8f08706fd3eb5b784deaa0abfc (diff) |
Proper recursive rendering of mails to html
1. Added raw mode to model
2. Added raw route
3. Moved readmail view parts to RenderMail plugin
4. Renamed displayheaders partial templates
Diffstat (limited to 'templates/exception_.html.ep')
-rw-r--r-- | templates/exception_.html.ep | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/exception_.html.ep b/templates/exception_.html.ep new file mode 100644 index 0000000..a605aaf --- /dev/null +++ b/templates/exception_.html.ep @@ -0,0 +1,31 @@ +<!doctype html> + +<html> + + <head> + <title>Error</title> + </head> + + <body> + <h1>Error</h1> + <p class=center> +% if (my $msg = stash 'error') { +%= $msg +% } +% else { + Uwu :( +% } + </p> + +% if (my $see_other = stash 'links') { + See: + <nav> +% for (@$see_other) { +%= link_to $_ => $_ + <br> +% } + </nav> +% } + </body> + +</html> |