From c3975cb7859f9d772d8dcb08aa9834c659938189 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Fri, 9 Jul 2021 13:48:44 +0200 Subject: [PATCH] TT#122202 Remove trailing spaces from error pages Change-Id: I147fed5a6a7bf7d2f3854489d975bfdac8b5d14b --- share/templates/denied_page.tt | 33 +++++++++++++++--------------- share/templates/error_page.tt | 28 ++++++++++++------------- share/templates/notfound_page.tt | 35 ++++++++++++++++---------------- 3 files changed, 46 insertions(+), 50 deletions(-) diff --git a/share/templates/denied_page.tt b/share/templates/denied_page.tt index 5c672d43c5..6c855326fc 100644 --- a/share/templates/denied_page.tt +++ b/share/templates/denied_page.tt @@ -1,37 +1,36 @@
- +
- +
- +

[% c.loc('Forbidden!') %]

- +

[% c.loc('[_1] Access Denied', c.response.status) %]

- +
[% c.loc('Sorry, an error has occurred, requested operation denied!') %] - +
- + - -
- - + +
+
- - - + + + diff --git a/share/templates/error_page.tt b/share/templates/error_page.tt index 8683d4d656..be20461917 100644 --- a/share/templates/error_page.tt +++ b/share/templates/error_page.tt @@ -1,13 +1,13 @@
- +
- +
- +

[% c.loc('Sorry!') %]

- +

[% c.loc('[_1] Internal server error', c.response.status) %]

- +

[% c.loc('We are terribly sorry, an exceptional error has occurred:') %]

[% c.loc('incident number:') %] [% exception_incident %]
@@ -15,19 +15,17 @@

[% c.loc('Details have been logged on the server. If you want to report the error, describe what you were doing or attempting to do just before.') %]

- + - -
- - + +
+
- - - + + diff --git a/share/templates/notfound_page.tt b/share/templates/notfound_page.tt index a8da954d42..de5a066ff0 100644 --- a/share/templates/notfound_page.tt +++ b/share/templates/notfound_page.tt @@ -1,37 +1,36 @@
- +
- +
- +

[% c.loc('Oops!') %]

- +

[% c.loc('[_1] Not found', c.response.status) %]

- +
[% c.loc('Sorry, an error has occurred, Requested page not found!') %] - +
- + - -
- - + +
+
- - - + + +