##// END OF EJS Templates
artifacts: expose a special auth-token based artifacts download urls....
artifacts: expose a special auth-token based artifacts download urls. This will allow sharing download to external locations used new generated artifact download tokens. This feature allows also serving downloads using secret urls with all the fancy logic of our auth tokens.

File last commit:

r3798:1f828f9a stable
r4003:09f31efc default
Show More
settings_exceptions_browse.mako
65 lines | 2.3 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_exceptions_browse.mako
<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:
${_('There are total {} stored exceptions.').format(c.exception_list_count)}
% endif
<br/>
${_('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>
<input type="hidden" name="type_filter", value="${c.type_filter}">
<div class="field">
<button class="btn btn-small btn-danger" type="submit"
onclick="return confirm('${_('Confirm to delete all exceptions')}');">
<i class="icon-remove"></i>
% if c.type_filter:
${_('Delete All `{}`').format(c.type_filter)}
% else:
${_('Delete All')}
% endif
</button>
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<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>
</div>
<div class="panel-body">
<table class="rctable">
<tr>
<th>#</th>
<th>Exception ID</th>
<th>Date</th>
<th>App Type</th>
<th>Exc Type</th>
</tr>
<% cnt = len(c.exception_list)%>
% for tb in c.exception_list:
<tr>
<td>${cnt}</td>
<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>
<td>
<a href="${h.current_route_path(request, type_filter=tb['exc_type'])}">${tb['exc_type']}</a>
</td>
</tr>
<% cnt -=1 %>
% endfor
</table>
</div>
</div>