Author: croberts Date: 2011-06-02 12:17:59 +0000 (Thu, 02 Jun 2011) New Revision: 4797
Modified: trunk/cumin/python/cumin/grid/submission.py Log: Setting the truncation length for submission name to 50 characters after the UI review.
Modified: trunk/cumin/python/cumin/grid/submission.py =================================================================== --- trunk/cumin/python/cumin/grid/submission.py 2011-06-01 21:23:06 UTC (rev 4796) +++ trunk/cumin/python/cumin/grid/submission.py 2011-06-02 12:17:59 UTC (rev 4797) @@ -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]) > 80): - retval = record[self.field.index][:80] + "..." #indicate that we truncated the name + if(len(record[self.field.index]) > 50): + retval = record[self.field.index][:50] + "..." #indicate that we truncated the name return retval
cumin-developers@lists.fedorahosted.org