Changeset 15173 for main/waeup.kofa/trunk
- Timestamp:
- 25 Sep 2018, 08:44:43 (6 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15163 r15173 72 72 IStudentPaymentsContainer, IStudentOnlinePayment, IStudentPreviousPayment, 73 73 IStudentBalancePayment, IBedTicket, IStudentsUtils, IStudentRequestPW, 74 IStudentTranscript75 74 ) 76 75 from waeup.kofa.students.catalog import search, StudentQueryResultItem … … 1258 1257 # Produce transcript file 1259 1258 self.redirect(self.url(self.context) + '/transcript.pdf') 1260 return1261 1262 class StudentTranscriptRequestManageFormPage(KofaEditFormPage):1263 """ Page to manage transcript data. There is no link button1264 for this page. It's an emergency page.1265 """1266 grok.context(IStudentStudyCourse)1267 grok.name('manage_transcript_request')1268 grok.require('waeup.processTranscript')1269 form_fields = grok.AutoFields(IStudentTranscript)1270 label = _('Manage transcript request')1271 pnav = 41272 1273 @action(_('Save'), style='primary')1274 def save(self, **data):1275 msave(self, **data)1276 1259 return 1277 1260 -
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r15163 r15173 373 373 ) 374 374 375 class IStudentTranscript(IKofaObject):376 """Representation of student transcript data. Only used for377 StudentTranscriptRequestManageFormPage.378 """379 380 transcript_comment = schema.Text(381 title = _(u'Comment'),382 required = False,383 )384 385 transcript_signees = schema.Text(386 title = _(u'Signees'),387 required = False,388 )389 390 391 375 class IStudent(IStudentBase,IUGStudentClearance,IPGStudentClearance, 392 376 IStudentPersonal): -
main/waeup.kofa/trunk/src/waeup/kofa/students/permissions.py
r15163 r15173 105 105 class SignTranscript(grok.Permission): 106 106 grok.name('waeup.signTranscript') 107 """The ViewTranscript role is needed to sign transcripts.107 """The SignTranscript role is needed to sign transcripts. 108 108 """ 109 109 -
main/waeup.kofa/trunk/src/waeup/kofa/students/studycourse.py
r15163 r15173 25 25 from zope.interface import implementedBy 26 26 from waeup.kofa.students.interfaces import ( 27 IStudentStudyCourse, IStudentNavigation, IStudentStudyLevel, 28 IStudentTranscript) 27 IStudentStudyCourse, IStudentNavigation, IStudentStudyLevel) 29 28 from waeup.kofa.students.studylevel import CourseTicket 30 29 from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
Note: See TracChangeset for help on using the changeset viewer.