diff --git a/rhodecode/templates/admin/repos/repo_edit_caches.mako b/rhodecode/templates/admin/repos/repo_edit_caches.mako --- a/rhodecode/templates/admin/repos/repo_edit_caches.mako +++ b/rhodecode/templates/admin/repos/repo_edit_caches.mako @@ -67,8 +67,11 @@
region: ${c.region.name} backend: ${c.region.actual_backend.__class__} +% if c.rhodecode_user.is_admin: store: ${c.region.actual_backend.get_store()} - +% else: +store: ${c.region.actual_backend.get_store().__class__} +% endif % if c.repo_keys: ${len(c.repo_keys)} ${_('Show all')} @@ -118,7 +121,11 @@ store: ${c.region.actual_backend.get_sto
${_('Cached diff name')}: | -${c.rhodecode_db_repo.cached_diffs_relative_dir} | + % if c.rhodecode_user.is_admin: +${c.rhodecode_db_repo.cached_diffs_dir} | + % else: +${c.rhodecode_db_repo.cached_diffs_relative_dir} | + % endif
${_('Cached diff files')}: |