Mercurial > kallithea
changeset 5535:93dca58eed34
admin: don't prompt for cache invalidation
Cache invalidation is completely no-risk.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 08 Oct 2015 23:21:58 +0200 |
parents | 55ccfc66479d |
children | 06d5c043e989 |
files | kallithea/templates/admin/repos/repo_edit_caches.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/admin/repos/repo_edit_caches.html Thu Oct 08 23:21:58 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_edit_caches.html Thu Oct 08 23:21:58 2015 +0200 @@ -1,7 +1,7 @@ ${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.')+"');")} + ${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate Repository Cache'),class_="btn btn-small")} <div class="field" style="border:none;color:#888"> <ul> <li>${_('Manually invalidate cache for this repository. On first access, the repository will be cached again.')}