Author: croberts
Date: 2011-05-24 17:22:27 +0000 (Tue, 24 May 2011)
New Revision: 4781
Modified:
trunk/cumin/python/cumin/grid/submission.py
Log:
Now truncating to 80 characters in the table for submissions. This will support 1024 x
768 nicely.
Modified: trunk/cumin/python/cumin/grid/submission.py
===================================================================
--- trunk/cumin/python/cumin/grid/submission.py 2011-05-24 16:42:01 UTC (rev 4780)
+++ trunk/cumin/python/cumin/grid/submission.py 2011-05-24 17:22:27 UTC (rev 4781)
@@ -115,8 +115,8 @@
class PoolSubmissionObjectLinkColumn(ObjectLinkColumn):
def render_cell_content(self, session, record):
retval = len(record) > 0 and record[self.field.index] or ""
- if(len(record[self.field.index]) > 100):
- retval = record[self.field.index][:100] + "..." #indicate that
we truncated the name
+ if(len(record[self.field.index]) > 80):
+ retval = record[self.field.index][:80] + "..." #indicate that
we truncated the name
return retval
Show replies by date