diff rhodecode/templates/admin/repos/repo_edit.html @ 3020:00498b3e4c88 beta

Cleaned the way cache keys are invalidated should fix issue #504 RhodeCode is showing different versions of README on different summary page loads
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 23 Nov 2012 16:59:30 +0100
parents acc05c33cc0c
children 685ebc84c2e9
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repo_edit.html	Fri Nov 23 13:27:34 2012 +0100
+++ b/rhodecode/templates/admin/repos/repo_edit.html	Fri Nov 23 16:59:30 2012 +0100
@@ -196,11 +196,20 @@
               </div>
               <div class="field" style="border:none;">
                 ${_('List of cached values')}
-                  <ul>
+                   <table>
+                   <tr>
+                    <th>${_('Prefix')}</th>
+                    <th>${_('Key')}</th>
+                    <th>${_('Active')}</th>
+                    </tr>
                   %for cache in c.repo_info.cache_keys:
-                      <li>INSTANCE ID:${cache.prefix or '-'} ${cache.cache_args} CACHED: ${h.bool2icon(cache.cache_active)}</li>
+                      <tr>
+                        <td>${cache.prefix or '-'}</td> 
+                        <td>${cache.cache_key}</td>
+                        <td>${h.bool2icon(cache.cache_active)}</td>
+                      </tr>
                   %endfor
-                  </ul>
+                  </table>
               </div>
            </div>
         </div>