Ignore:
Timestamp:
19 Feb 2013, 20:14:18 (12 years ago)
Author:
Henrik Bettermann
Message:

_signatures must return a tuple of lists in order to create one signature table per signature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r9957 r9969  
    692692            + ' %s' % self.context.display_fullname
    693693
     694    # XXX: not used in waeup.kofa and thus not tested
    694695    def _signatures(self):
    695696        isStudent = getattr(
    696697            self.request.principal, 'user_type', None) == 'student'
    697698        if not isStudent and self.context.state in (CLEARED, ):
    698             return (_('Student Signature'), _('Clearance Officer Signature'))
     699            return ([_('Student Signature')],
     700                    [_('Clearance Officer Signature')])
    699701        return
    700702
Note: See TracChangeset for help on using the changeset viewer.