##// END OF EJS Templates
feat(hide recaptcha secrets): masked sensitive information related to reCaptcha configuration.
feat(hide recaptcha secrets): masked sensitive information related to reCaptcha configuration.

File last commit:

r4313:4bf03e9f default
r5641:ad0048eb tip default
Show More
settings_exceptions.mako
47 lines | 1.6 KiB | application/x-mako | MakoHtmlLexer
exceptions: added new exception tracking capability....
r2907 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Exceptions Tracker - Exception ID')}: ${c.exception_id}</h3>
</div>
<div class="panel-body">
% if c.traceback:
<h4>${_('Exception `{}` generated on UTC date: {}').format(c.traceback.get('exc_type', 'NO_TYPE'), c.traceback.get('exc_utc_date', 'NO_DATE'))}</h4>
exception_tracker: store request info if available.
r4301 % if c.traceback.get('url'):
Request:
<code>${c.traceback.get('method')} ${c.traceback.get('url')}</code><br/>
<code>${c.traceback.get('client_address')} ${c.traceback.get('user_agent')}</code>
<br/>
<br/>
% endif
exceptions: added new exception tracking capability....
r2907 <pre>${c.traceback.get('exc_message', 'NO_MESSAGE')}</pre>
exception_tracker: store request info if available.
r4301
exceptions: added new exception tracking capability....
r2907 % else:
${_('Unable to Read Exception. It might be removed or non-existing.')}
% endif
</div>
</div>
% if c.traceback:
<div class="panel panel-danger">
<div class="panel-heading" id="advanced-delete">
<h3 class="panel-title">${_('Delete this Exception')}</h3>
</div>
<div class="panel-body">
${h.secure_form(h.route_path('admin_settings_exception_tracker_delete', exception_id=c.exception_id), request=request)}
<div style="margin: 0 0 20px 0" class="fake-space"></div>
<div class="field">
<button class="btn btn-small btn-danger" type="submit"
templates: switched most of confirm dialogs to sweetalert2
r4313 onclick="submitConfirm(event, this, _gettext('Confirm to delete this exception'), _gettext('Delete'), ${c.exception_id})">
dan
ui: fixed some missed icons during redesign phase
r3798 <i class="icon-remove"></i>
exceptions: added new exception tracking capability....
r2907 ${_('Delete This Exception')}
</button>
</div>
${h.end_form()}
</div>
</div>
% endif