##// END OF EJS Templates
quick-filter: use a dedicated method for fetching quick filter nodes....
quick-filter: use a dedicated method for fetching quick filter nodes. This code needs a fast and dedicated method for this. We'll re-implement it and we don't want to change existing API. So it's just a start to have a duplicated method that will be rewritten.

File last commit:

r3226:feb956fc default
r3925:66f1ac00 default
Show More
error_document.mako
93 lines | 4.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Error - ${c.error_message}</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="robots" content="index, nofollow"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
%if c.redirect_time:
<meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
%endif
static: use same way of loading static in root and standalone error_document to prevent from having JS errors.
r3226 <link rel="icon" href="${h.asset('images/favicon.ico', ver=c.rhodecode_version_hash)}" sizes="16x16 32x32" type="image/png" />
<script src="${h.asset('js/vendors/webcomponentsjs/custom-elements-es5-adapter.js', ver=c.rhodecode_version_hash)}"></script>
<script src="${h.asset('js/vendors/webcomponentsjs/webcomponents-bundle.js', ver=c.rhodecode_version_hash)}"></script>
templating: use .mako as extensions for template files.
r1282 <link rel="stylesheet" type="text/css" href="${h.asset('css/style.css', ver=c.rhodecode_version_hash)}" media="screen"/>
<style>body { background:#eeeeee; }</style>
templates: removed some unused JS variables....
r1285 <script type="text/javascript">
// register templateContext to pass template variables to JS
var templateContext = {timeago: {}};
</script>
templating: use .mako as extensions for template files.
r1282 <script type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
</head>
<body>
<div class="wrapper error_page">
<div class="sidebar">
error-document: make sure the error document has registered helpers,...
r1748 <a href="${h.route_path('home')}"><img class="error-page-logo" src="${h.asset('images/RhodeCode_Logo_Black.png')}" alt="RhodeCode"/></a>
templating: use .mako as extensions for template files.
r1282 </div>
<div class="main-content">
<h1>
<span class="error-branding">
${h.branding(c.rhodecode_name)}
</span><br/>
pages: updated error pages UI.
r3210 ${c.error_message}
<br/>
<span class="error_message">${c.error_explanation}</span>
templating: use .mako as extensions for template files.
r1282 </h1>
error-document: make sure the error document has registered helpers,...
r1748 % if c.messages:
% for message in c.messages:
templating: use .mako as extensions for template files.
r1282 <div class="alert alert-${message.category}">${message}</div>
% endfor
% endif
%if c.redirect_time:
<p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
%endif
<div class="inner-column">
<h4>Possible Causes</h4>
<ul>
% if c.causes:
%for cause in c.causes:
<li>${cause}</li>
%endfor
%else:
<li>The resource may have been deleted.</li>
<li>You may not have access to this repository.</li>
<li>The link may be incorrect.</li>
%endif
</ul>
</div>
<div class="inner-column">
<h4>Support</h4>
exceptions: added new exception tracking capability....
r2907 <p>For help and support, go to the <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support Page')}</a>.
routing: switched static redirection links to pyramid....
r1679 It may be useful to include your log file; see the log file locations <a href="${h.route_url('enterprise_log_file_locations')}">here</a>.
templating: use .mako as extensions for template files.
r1282 </p>
exceptions: added new exception tracking capability....
r2907
templating: use .mako as extensions for template files.
r1282 </div>
<div class="inner-column">
<h4>Documentation</h4>
routing: switched static redirection links to pyramid....
r1679 <p>For more information, see <a href="${h.route_url('enterprise_docs')}">docs.rhodecode.com</a>.</p>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
error-tracker: use nicer display for exception generated by rhodecode.
r2974
% if c.show_exception_id:
<div class="sidebar" style="width: 130px">
</div>
<div class="main-content">
<p>
<strong>Exception ID: <code><a href="${c.exception_id_url}">${c.exception_id}</a></code> </strong> <br/>
Super Admins can see detailed traceback information from this exception by checking the below Exception ID.<br/>
Please include the above link for further details of this exception.
</p>
</div>
% endif
templating: use .mako as extensions for template files.
r1282 </div>
</body>
</html>