##// END OF EJS Templates
Add mousetrap.js file from Mousetrap 1.4.5, under the Apache license....
Add mousetrap.js file from Mousetrap 1.4.5, under the Apache license. The file was download and verified via these commands: $ git clone https://github.com/ccampbell/mousetrap.git $ cd mousetrap; git checkout 1.4.5 The file in that repository named mousetrap.js is exactly the same one that appeared in RhodeCode 2.2.5 in changeset c8d3c0d61d95. The mousetrap.js states clearly that it is licensed under Apache-2.0.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4126:158ef336 rhodecode-2.2.5-gpl
Show More
repo_edit_caches.html
30 lines | 1.1 KiB | text/html | HtmlLexer
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${h.form(url('edit_repo_caches', repo_name=c.repo_name), method='put')}
<div class="form">
<div class="fields">
${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate repository cache'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to invalidate repository cache')+"');")}
<div class="field" style="border:none;color:#888">
<ul>
<li>${_('Manually invalidate cache for this repository. On first access repository will be cached again')}
</li>
</ul>
</div>
<div class="field" style="border:none;">
${_('List of cached values')}
<table>
<tr>
<th>${_('Prefix')}</th>
<th>${_('Key')}</th>
<th>${_('Active')}</th>
</tr>
%for cache in c.repo_info.cache_keys:
<tr>
<td>${cache.get_prefix() or '-'}</td>
<td>${cache.cache_key}</td>
<td>${h.boolicon(cache.cache_active)}</td>
</tr>
%endfor
</table>
</div>
</div>
</div>
${h.end_form()}