# HG changeset patch # User Mads Kiilerich # Date 2015-10-08 23:21:58 # Node ID 93dca58eed349d873a4c1d8154bb5fca9a2259bc # Parent 55ccfc66479d966ca2efbf521999f0865ec6da33 admin: don't prompt for cache invalidation Cache invalidation is completely no-risk. diff --git a/kallithea/templates/admin/repos/repo_edit_caches.html b/kallithea/templates/admin/repos/repo_edit_caches.html --- a/kallithea/templates/admin/repos/repo_edit_caches.html +++ b/kallithea/templates/admin/repos/repo_edit_caches.html @@ -1,7 +1,7 @@ ${h.form(url('edit_repo_caches', repo_name=c.repo_name), method='put')}
- ${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")}
  • ${_('Manually invalidate cache for this repository. On first access, the repository will be cached again.')}