##// END OF EJS Templates
branch-permissions: fixed ce view. Fixes #5656
branch-permissions: fixed ce view. Fixes #5656

File last commit:

r4313:4bf03e9f default
r4668:972bf4bf default
Show More
settings_exceptions_browse.mako
66 lines | 2.4 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_exceptions_browse.mako
exceptions: added new exception tracking capability....
r2907 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Exceptions Tracker ')}</h3>
</div>
<div class="panel-body">
% if c.exception_list_count == 1:
${_('There is {} stored exception.').format(c.exception_list_count)}
% else:
exc_store: add filter for display and deletion.
r3669 ${_('There are total {} stored exceptions.').format(c.exception_list_count)}
exceptions: added new exception tracking capability....
r2907 % endif
exc_store: add filter for display and deletion.
r3669 <br/>
exceptions: added new exception tracking capability....
r2907 ${_('Store directory')}: ${c.exception_store_dir}
${h.secure_form(h.route_path('admin_settings_exception_tracker_delete_all'), request=request)}
<div style="margin: 0 0 20px 0" class="fake-space"></div>
exc_store: add filter for display and deletion.
r3669 <input type="hidden" name="type_filter", value="${c.type_filter}">
exceptions: added new exception tracking capability....
r2907 <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 all exceptions'), _gettext('Delete'), '${'total:{}'.format(c.exception_list_count)}')"
>
dan
ui: fixed some missed icons during redesign phase
r3798 <i class="icon-remove"></i>
exc_store: add filter for display and deletion.
r3669 % if c.type_filter:
${_('Delete All `{}`').format(c.type_filter)}
% else:
${_('Delete All')}
% endif
exceptions: added new exception tracking capability....
r2907 </button>
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
exception-tracker: add show-more link.
r2985 <h3 class="panel-title">${_('Exceptions Tracker - Showing the last {} Exceptions').format(c.limit)}.</h3>
<a class="panel-edit" href="${h.current_route_path(request, limit=c.next_limit)}">${_('Show more')}</a>
exceptions: added new exception tracking capability....
r2907 </div>
<div class="panel-body">
<table class="rctable">
<tr>
exceptions-store: show number of exceptions.
r2910 <th>#</th>
exceptions: added new exception tracking capability....
r2907 <th>Exception ID</th>
<th>Date</th>
<th>App Type</th>
<th>Exc Type</th>
</tr>
exceptions-store: show number of exceptions.
r2910 <% cnt = len(c.exception_list)%>
exceptions: added new exception tracking capability....
r2907 % for tb in c.exception_list:
<tr>
exceptions-store: show number of exceptions.
r2910 <td>${cnt}</td>
exceptions: added new exception tracking capability....
r2907 <td><a href="${h.route_path('admin_settings_exception_tracker_show', exception_id=tb['exc_id'])}"><code>${tb['exc_id']}</code></a></td>
<td>${h.format_date(tb['exc_utc_date'])}</td>
<td>${tb['app_type']}</td>
exc_store: add filter for display and deletion.
r3669 <td>
<a href="${h.current_route_path(request, type_filter=tb['exc_type'])}">${tb['exc_type']}</a>
</td>
exceptions: added new exception tracking capability....
r2907 </tr>
exceptions-store: show number of exceptions.
r2910 <% cnt -=1 %>
exceptions: added new exception tracking capability....
r2907 % endfor
</table>
</div>
</div>