Changeset 7773 for main/waeup.sirp/branches
- Timestamp:
- 7 Mar 2012, 10:04:38 (13 years ago)
- Location:
- main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/interfaces.py
r7772 r7773 32 32 from waeup.sirp.interfaces import ( 33 33 ISIRPObject, year_range, validate_email, academic_sessions_vocab, 34 SubjectSource, GradeSource )34 SubjectSource, GradeSource, IResultEntry) 35 35 from waeup.sirp.interfaces import MessageFactory as _ 36 36 from waeup.sirp.university.vocabularies import ( … … 355 355 'provider'].order = IApplicantsContainer['provider'].order 356 356 357 class IResultEntry(Interface):358 subject = schema.Choice(359 title = _(u'Subject'),360 source = SubjectSource(),361 )362 #subject = schema.TextLine(363 # title = _(u'Subject'),364 # )365 grade = schema.Choice(366 title = _(u'Grade'),367 source = GradeSource(),368 )369 #grade = schema.TextLine(370 # title = _(u'Grade'),371 # )372 373 357 class IApplicantBaseData(ISIRPObject): 374 358 """The data for an applicant. -
main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/interfaces.py
r7772 r7773 167 167 return value 168 168 169 class IResultEntry(Interface): 170 """A school grade entry. 171 """ 172 subject = schema.Choice( 173 title = _(u'Subject'), 174 source = SubjectSource(), 175 ) 176 grade = schema.Choice( 177 title = _(u'Grade'), 178 source = GradeSource(), 179 ) 180 169 181 class ISIRPUtils(Interface): 170 182 """A collection of methods which are subject to customization.
Note: See TracChangeset for help on using the changeset viewer.