Author: eallen
Date: 2008-10-24 11:39:53 -0400 (Fri, 24 Oct 2008)
New Revision: 2685
Modified:
mgmt/trunk/cumin/python/cumin/pool.py
mgmt/trunk/cumin/python/cumin/pool.strings
Log:
Rename status box to Pool Status to avoid confusion
Modified: mgmt/trunk/cumin/python/cumin/pool.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/pool.py 2008-10-24 15:39:01 UTC (rev 2684)
+++ mgmt/trunk/cumin/python/cumin/pool.py 2008-10-24 15:39:53 UTC (rev 2685)
@@ -302,3 +302,6 @@
class PoolStatus(CuminStatus):
def render_status(self, session, pool):
return "Active"
+
+ def render_title(self, session, pool):
+ return "Pool Status"
Modified: mgmt/trunk/cumin/python/cumin/pool.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/pool.strings 2008-10-24 15:39:01 UTC (rev 2684)
+++ mgmt/trunk/cumin/python/cumin/pool.strings 2008-10-24 15:39:53 UTC (rev 2685)
@@ -16,7 +16,7 @@
[PoolStatus.html]
<div id="{id}" class="CuminStatus {color}">
- <h2>Status</h2>
+ <h2>{title}</h2>
<div>{status}</div>
</div>