##// END OF EJS Templates
fix(gists): fixed old way of querying for gist store
fix(gists): fixed old way of querying for gist store

File last commit:

r4232:60646747 stable
r5366:33b6c486 default
Show More
user_edit_caches.mako
44 lines | 1.3 KiB | application/x-mako | MakoHtmlLexer
caches: rewrite of auth/permission caches to dogpile.
r2845 <%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;- ${_('Caches')}
</h3>
caches: rewrite of auth/permission caches to dogpile.
r2845 </div>
<div class="panel-body">
caches: don't use beaker for file caches anymore
r2846 <p>
Cache keys used for storing cached values of user permissions and authentication plugin cache.
Invalidating the cache will remove those entries.
</p>
<pre>
caches: rewrite of auth/permission caches to dogpile.
r2845 region: ${c.region.name}
backend: ${c.region.actual_backend.__class__}
store: ${c.region.actual_backend.get_store()}
caches: don't use beaker for file caches anymore
r2846 % if c.user_keys:
${len(c.user_keys)} <a href="#showKeys" onclick="$('#show-keys').toggle()">${_('Show all')}</a>
<span id="show-keys" style="display: none">
% for k in c.user_keys:
caches: rewrite of auth/permission caches to dogpile.
r2845 - ${k}
caches: don't use beaker for file caches anymore
r2846 % endfor
</span>
% else:
NO KEYS FOUND
% endif
</pre>
<p></p>
caches: rewrite of auth/permission caches to dogpile.
r2845 ${h.secure_form(h.route_path('edit_user_caches_update', user_id=c.user.user_id), request=request)}
<div class="form">
<div class="fields">
${h.submit('reset_cache_%s' % c.user.user_id, _('Invalidate user cache'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to invalidate user cache')+"');")}
</div>
</div>
${h.end_form()}
</div>
</div>