Skip to content

Commit

Permalink
mention active mode in title of not found and exception pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 9, 2014
1 parent 1a97f64 commit 90564a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/templates/exception.development.html.ep
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Server error</title>
<title>Server error (<%= app->mode %> mode)</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
%= javascript '/mojo/jquery/jquery.js'
Expand Down Expand Up @@ -223,7 +223,7 @@
<table>
% for my $msg (@{app->log->history}) {
% my ($time, $level, @lines) = @$msg;
% $time = localtime($time);
% $time = localtime $time;
% my $lines = join "\n", @lines;
<tr>
<td class="striped value">
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/templates/not_found.development.html.ep
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Page not found</title>
<title>Page not found (<%= app->mode %> mode)</title>
%= stylesheet begin
body {
background: url(<%= url_for '/mojo/pinstripe-light.png' %>);
Expand Down Expand Up @@ -115,7 +115,7 @@
<table>
% for my $msg (@{app->log->history}) {
% my ($time, $level, @lines) = @$msg;
% $time = localtime($time);
% $time = localtime $time;
% my $lines = join "\n", @lines;
<tr>
<td class="striped value">
Expand Down

0 comments on commit 90564a4

Please sign in to comment.