# HG changeset patch # User Marcin Kuzminski # Date 2018-11-19 09:56:29 # Node ID feb956fcb87f9f9379cb2619b9c4314c566d8151 # Parent 64ac37fbdfac6857d8a42b8265f474cb8da9ce00 static: use same way of loading static in root and standalone error_document to prevent from having JS errors. diff --git a/rhodecode/templates/base/root.mako b/rhodecode/templates/base/root.mako --- a/rhodecode/templates/base/root.mako +++ b/rhodecode/templates/base/root.mako @@ -27,9 +27,6 @@ c.template_context['default_user'] = { %> - - - ${self.title()} @@ -46,6 +43,8 @@ c.template_context['default_user'] = { ${self.robots()} + + ## CSS definitions <%def name="css()"> diff --git a/rhodecode/templates/errors/error_document.mako b/rhodecode/templates/errors/error_document.mako --- a/rhodecode/templates/errors/error_document.mako +++ b/rhodecode/templates/errors/error_document.mako @@ -5,13 +5,16 @@ Error - ${c.error_message} - %if c.redirect_time: %endif + + + +