Ignore:
Timestamp:
15 Apr 2011, 09:46:16 (14 years ago)
Author:
Henrik Bettermann
Message:

Courses and courses references (certificate courses) must be distinguishable.

Implement different interfaces for certificates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py

    r5949 r5950  
    2525       
    2626    def getTitle(self, value):
    27         return "%s %s" % (value.code, value.title[:32])
     27        return "%s - %s" % (value.code, value.title[:64])
    2828
    2929class IFaculty(IWAeUPContainer):
     
    190190    """
    191191    course = schema.Choice(
    192         title = u'Course',
     192        title = u'Course referenced',
    193193        source = CourseSource(),
     194        readonly = True,
    194195        )
    195196   
     
    197198        title = u'Level of this course',
    198199        required = True,
    199         default = 100
     200        default = 100,
     201        readonly = False,
    200202        )
    201203
     
    203205        title = u'Is mandatory course (not elective)',
    204206        required = True,
    205         default = True
     207        default = True,
    206208        )
    207209
Note: See TracChangeset for help on using the changeset viewer.