Adapted admin cache action for gae

This commit is contained in:
Alan Etkin
2013-12-28 07:53:29 -03:00
parent 750f963796
commit eb94780cd4
8 changed files with 358 additions and 271 deletions
+8 -4
View File
@@ -116,13 +116,15 @@
{{elif request.function == 'ccache':}}
<h2>{{T("Cache")}}</h2>
<div class="list">
<h2>{{=T("Cache")}}</h2>
<div class="list-header">
<h3>{{T("Statistics")}}</h3>
<h3>{{=T("Statistics")}}</h3>
</div>
{{if request.env.web2py_runtime_gae:}}
{{=BEAUTIFY(total)}}
{{else:}}
<div class="list">
<div class="content">
<h4>{{=T("Overview")}}</h4>
<p>{{=T.M("Number of entries: **%s**", total['entries'])}}</p>
@@ -210,6 +212,8 @@
{{pass}}
</div>
{{pass}}
<div class="list-header">
<h3>{{=T("Manage Cache")}}</h3>
</div>