##// END OF EJS Templates
hosting: added usage writers for hosting needs.
hosting: added usage writers for hosting needs.

File last commit:

r4232:60646747 stable
r4473:fbaf80e4 default
Show More
user_edit_audit.mako
27 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559 ## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
users/user-groups: added context of what we're editing....
r4232 <h3 class="panel-title">
${base.gravatar_with_user(c.user.username, 16, tooltip=False, _class='pull-left')}
&nbsp;- ${_('Audit Logs')}
(${_ungettext('%s entry', '%s entries', c.audit_logs.item_count) % (c.audit_logs.item_count)})
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559 </h3>
audit-logs: expose download user audit logs as JSON file....
r3970 <a href="${h.route_path('edit_user_audit_logs_download', user_id=c.user.user_id)}" class="panel-edit">${_('Download as JSON')}</a>
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559 </div>
<div class="panel-body">
${h.form(None, id_="filter_form", method="get")}
<input class="q_filter_box ${'' if c.filter_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.filter_term or ''}" placeholder="${_('audit filter...')}"/>
<input type='submit' value="${_('filter')}" class="btn" />
${h.end_form()}
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807
<p class="filterexample" style="position: inherit" onclick="$('#search-help').toggle()">${_('Example Queries')}</p>
<pre id="search-help" style="display: none">${h.tooltip(h.journal_filter_help(request))}</pre>
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559
user-audit: share same template for rendering audit logs between user and admin views.
r1696 <%include file="/admin/admin_log_base.mako" />
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559
</div>
</div>