##// END OF EJS Templates
caches: show full paths for super-admin, hide paths for regular users for security.
marcink -
r3084:34a685d4 default
parent child Browse files
Show More
@@ -67,8 +67,11 b''
67 67 <pre>
68 68 region: ${c.region.name}
69 69 backend: ${c.region.actual_backend.__class__}
70 % if c.rhodecode_user.is_admin:
70 71 store: ${c.region.actual_backend.get_store()}
71
72 % else:
73 store: ${c.region.actual_backend.get_store().__class__}
74 % endif
72 75
73 76 % if c.repo_keys:
74 77 ${len(c.repo_keys)} <a href="#showKeys" onclick="$('#show-keys').toggle()">${_('Show all')}</a>
@@ -118,7 +121,11 b' store: ${c.region.actual_backend.get_sto'
118 121 <table class="rctable edit_cache">
119 122 <tr>
120 123 <td>${_('Cached diff name')}:</td>
121 <td>${c.rhodecode_db_repo.cached_diffs_relative_dir}</td>
124 % if c.rhodecode_user.is_admin:
125 <td>${c.rhodecode_db_repo.cached_diffs_dir}</td>
126 % else:
127 <td>${c.rhodecode_db_repo.cached_diffs_relative_dir}</td>
128 % endif
122 129 </tr>
123 130 <tr>
124 131 <td>${_('Cached diff files')}:</td>
General Comments 0
You need to be logged in to leave comments. Login now