diff options
author | Lukas Winkler <Findus23@users.noreply.github.com> | 2017-11-13 20:20:52 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2017-11-13 20:20:52 +0300 |
commit | 3fc7101005c4432d35404072b9eb3c7044a6c9e4 (patch) | |
tree | 9df25a71ae8811c6f458b75b400460046e7b9fe1 /plugins/CorePluginsAdmin/templates | |
parent | 96487b599d2ee9d9660d6cc83952d80bb50d5e16 (diff) |
make HTML in safemode-page valid (#12270)
* make HTML in safemode-page valid
* update UI test
Diffstat (limited to 'plugins/CorePluginsAdmin/templates')
-rw-r--r-- | plugins/CorePluginsAdmin/templates/safemode.twig | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/CorePluginsAdmin/templates/safemode.twig b/plugins/CorePluginsAdmin/templates/safemode.twig index 01dd31d187..21f8ef8a1e 100644 --- a/plugins/CorePluginsAdmin/templates/safemode.twig +++ b/plugins/CorePluginsAdmin/templates/safemode.twig @@ -1,3 +1,4 @@ +<!DOCTYPE html> <html> <head> <meta name="robots" content="noindex,nofollow"> @@ -21,6 +22,7 @@ text-decoration: underline; } </style> + <title>A fatal error occurred</title> </head> <body> @@ -30,11 +32,11 @@ {% if isAllowedToTroubleshootAsSuperUser or not isAnonymousUser %} <p> - The following error just broke Piwik{% if showVersion %} (v{{ piwikVersion }}){% endif %}: - <pre>{{ lastError.message }}</pre> - in - <pre>{{ lastError.file }} line {{ lastError.line }}</pre> + The following error just broke Piwik{% if showVersion %} (v{{ piwikVersion }}){% endif %}: </p> + <pre>{{ lastError.message }}</pre> + <p>in</p> + <pre>{{ lastError.file }} line {{ lastError.line }}</pre> <hr> <h3>Troubleshooting</h3> |