comparison rhodecode/templates/admin/repos/repo_edit.html @ 3627:32cb8d45f330 beta

helpers: show boolean value of value as icon, not just the True and False singletons
author Mads Kiilerich <madski@unity3d.com>
date Thu, 28 Mar 2013 01:10:45 +0100
parents c8ecfe42b285
children c734686b3cf2
comparison
equal deleted inserted replaced
3626:0a1417ef1a9c 3627:32cb8d45f330
219 </tr> 219 </tr>
220 %for cache in c.repo_info.cache_keys: 220 %for cache in c.repo_info.cache_keys:
221 <tr> 221 <tr>
222 <td>${cache.get_prefix() or '-'}</td> 222 <td>${cache.get_prefix() or '-'}</td>
223 <td>${cache.cache_key}</td> 223 <td>${cache.cache_key}</td>
224 <td>${h.bool2icon(cache.cache_active)}</td> 224 <td>${h.boolicon(cache.cache_active)}</td>
225 </tr> 225 </tr>
226 %endfor 226 %endfor
227 </table> 227 </table>
228 </div> 228 </div>
229 </div> 229 </div>