##// END OF EJS Templates
pyro4: Add the custom header `X-RhodeCode-Backend` to the pyro4 backend responses....
pyro4: Add the custom header `X-RhodeCode-Backend` to the pyro4 backend responses. This custom header sets the SCM backend which is in use. It is used to identify VCS responses in the error handler. VCS responses are skipped during error handling.

File last commit:

r823:39831f54 default
r848:2956cade default
Show More
error_document.html
75 lines | 3.3 KiB | text/html | HtmlLexer
project: added all source files and assets
r1 ## -*- 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"/>
dan
assets: convert pylons static files to pyramid static_url, fixes #3504
r454 <link rel="icon" href="${h.asset('images/favicon.ico')}" sizes="16x16 32x32" type="image/png" />
project: added all source files and assets
r1
<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: bring back ver=XXX for proper flushing caches when version is upgraded....
r537 <link rel="stylesheet" type="text/css" href="${h.asset('css/style.css', ver=c.rhodecode_version_hash)}" media="screen"/>
project: added all source files and assets
r1 <!--[if IE]>
dan
assets: convert pylons static files to pyramid static_url, fixes #3504
r454 <link rel="stylesheet" type="text/css" href="${h.asset('css/ie.css')}" media="screen"/>
project: added all source files and assets
r1 <![endif]-->
<style>body { background:#eeeeee; }</style>
static: bring back ver=XXX for proper flushing caches when version is upgraded....
r537 <script type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
project: added all source files and assets
r1 </head>
<body>
notifications: switch to embedded alerts for HTTPNotFound
r823 <% messages = h.flash.pop_messages() %>
project: added all source files and assets
r1
<div class="wrapper error_page">
<div class="sidebar">
dan
assets: convert pylons static files to pyramid static_url, fixes #3504
r454 <a href="${h.url('home')}"><img class="error-page-logo" src="${h.asset('images/RhodeCode_Logo_Black.png')}" alt="RhodeCode"/></a>
project: added all source files and assets
r1 </div>
<div class="main-content">
<h1>
<span class="error-branding">
${h.branding(c.rhodecode_name)}
</span><br/>
${c.error_message} | <span class="error_message">${c.error_explanation}</span>
</h1>
notifications: switch to embedded alerts for HTTPNotFound
r823 % if messages:
% for message in messages:
<div class="alert alert-${message.category}">${message}</div>
% endfor
% endif
project: added all source files and assets
r1 %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">
dan
ux: show list of causes for vcs unavailable error page
r683 <h4>Possible Causes</h4>
project: added all source files and assets
r1 <ul>
dan
ux: show list of causes for vcs unavailable error page
r683 % if c.causes:
%for cause in c.causes:
<li>${cause}</li>
%endfor
%else:
project: added all source files and assets
r1 <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>
dan
ux: show list of causes for vcs unavailable error page
r683 %endif
project: added all source files and assets
r1 </ul>
</div>
<div class="inner-column">
<h4>Support</h4>
<p>For support, go to <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>.
It may be useful to include your log file; see the log file locations <a href="${h.url('enterprise_log_file_locations')}">here</a>.
</p>
</div>
<div class="inner-column">
<h4>Documentation</h4>
<p>For more information, see <a href="${h.url('enterprise_docs')}">docs.rhodecode.com</a>.</p>
</div>
</div>
</div>
</body>
</html>