##// END OF EJS Templates
static: use same way of loading static in root and standalone error_document to prevent from having JS errors.
marcink -
r3226:feb956fc default
parent child Browse files
Show More
@@ -27,9 +27,6 b" c.template_context['default_user'] = {"
27 27 %>
28 28 <html xmlns="http://www.w3.org/1999/xhtml">
29 29 <head>
30
31 <script src="${h.asset('js/vendors/webcomponentsjs/custom-elements-es5-adapter.js', ver=c.rhodecode_version_hash)}"></script>
32 <script src="${h.asset('js/vendors/webcomponentsjs/webcomponents-bundle.js', ver=c.rhodecode_version_hash)}"></script>
33 30 <title>${self.title()}</title>
34 31 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
35 32
@@ -46,6 +43,8 b" c.template_context['default_user'] = {"
46 43 </%def>
47 44 ${self.robots()}
48 45 <link rel="icon" href="${h.asset('images/favicon.ico', ver=c.rhodecode_version_hash)}" sizes="16x16 32x32" type="image/png" />
46 <script src="${h.asset('js/vendors/webcomponentsjs/custom-elements-es5-adapter.js', ver=c.rhodecode_version_hash)}"></script>
47 <script src="${h.asset('js/vendors/webcomponentsjs/webcomponents-bundle.js', ver=c.rhodecode_version_hash)}"></script>
49 48
50 49 ## CSS definitions
51 50 <%def name="css()">
@@ -5,13 +5,16 b''
5 5 <title>Error - ${c.error_message}</title>
6 6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 7 <meta name="robots" content="index, nofollow"/>
8 <link rel="icon" href="${h.asset('images/favicon.ico')}" sizes="16x16 32x32" type="image/png" />
9 8
10 9 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
11 10 %if c.redirect_time:
12 11 <meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
13 12 %endif
14 13
14 <link rel="icon" href="${h.asset('images/favicon.ico', ver=c.rhodecode_version_hash)}" sizes="16x16 32x32" type="image/png" />
15 <script src="${h.asset('js/vendors/webcomponentsjs/custom-elements-es5-adapter.js', ver=c.rhodecode_version_hash)}"></script>
16 <script src="${h.asset('js/vendors/webcomponentsjs/webcomponents-bundle.js', ver=c.rhodecode_version_hash)}"></script>
17
15 18 <link rel="stylesheet" type="text/css" href="${h.asset('css/style.css', ver=c.rhodecode_version_hash)}" media="screen"/>
16 19 <style>body { background:#eeeeee; }</style>
17 20 <script type="text/javascript">
General Comments 0
You need to be logged in to leave comments. Login now