Author: eallen
Date: 2008-10-31 10:19:38 -0400 (Fri, 31 Oct 2008)
New Revision: 2714
Modified:
mgmt/trunk/cumin/python/cumin/pool.py
Log:
Adding link to view job from job grid widget
Modified: mgmt/trunk/cumin/python/cumin/pool.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/pool.py 2008-10-31 14:18:57 UTC (rev 2713)
+++ mgmt/trunk/cumin/python/cumin/pool.py 2008-10-31 14:19:38 UTC (rev 2714)
@@ -289,6 +289,10 @@
def render_cell_id(self, session, count, job):
return "%i" % job.sourceObjectId
+ def render_href(self, session, count, job):
+ branch = session.branch()
+ return self.page.main.pool.job.get_href(branch, job)
+
def get_url(self, session):
pool = self.parent.frame.get_args(session)[0]
return "call.xml?class=pool;method=jobs"