Changeset 10804 for main/kofacustom.ekodisco/trunk
- Timestamp:
- 28 Nov 2013, 16:14:39 (11 years ago)
- Location:
- main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/locales/en/LC_MESSAGES/waeup.kofa.po
r10800 r10804 206 206 207 207 msgid "Applicant Id" 208 msgstr " "208 msgstr "Subscriber Id" 209 209 210 210 msgid "${a} <br /> Application Form ${b}" … … 261 261 msgid "Edit application record" 262 262 msgstr "Edit subscriber record" 263 264 msgid "Download application slip"265 msgstr "Download subscriber data slip"266 263 267 264 msgid "Application" … … 297 294 msgstr "Or simply forgot your customer id or password? Then request a new password <strong><a href=\"changepw\"> here</a></strong>." 298 295 296 msgid "Students" 297 msgstr "Customers" 298 299 msgid "Student Id" 300 msgstr "Customer Id" 301 302 msgid "Login as student" 303 msgstr "Login as customer" 304 305 msgid "Transfer student" 306 msgstr "Transfer customer" 307 308 msgid "Study Course" 309 msgstr "Main Contract" 310 311 msgid "admitted" 312 msgstr "approved" 313 314 msgid "Start new session" 315 msgstr "Start new subscription period" 316 317 msgid "Current Session" 318 msgstr "Current Subscription Period" 319 320 msgid "Entry Session" 321 msgstr "First Subscription Period" 322 323 msgid "Application Slip" 324 msgstr "Subscription Slip" 325 -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/browser.py
r10770 r10804 29 29 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlipPage, 30 30 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 31 msave, emit_lock_message) 32 from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket 31 msave, emit_lock_message, StudyCourseDisplayFormPage, 32 StudyCourseManageFormPage) 33 from waeup.kofa.students.interfaces import ( 34 IStudentsUtils, ICourseTicket) 33 35 from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS 34 36 from kofacustom.nigeria.students.browser import ( … … 43 45 from kofacustom.ekodisco.students.interfaces import ( 44 46 ICustomStudentOnlinePayment, ICustomStudentStudyCourse, 45 ICustomStudentStudyLevel) 47 ICustomStudentStudyLevel, ICustomStudentStudyCourse, 48 ICustomStudentStudyCourse) 46 49 from kofacustom.ekodisco.interfaces import MessageFactory as _ 47 50 51 52 class CustomStudyCourseDisplayFormPage(StudyCourseDisplayFormPage): 53 """ Page to display the student study course data 54 """ 55 grok.context(ICustomStudentStudyCourse) 56 grok.template('studycoursepage') 57 58 form_fields = grok.AutoFields(ICustomStudentStudyCourse).select( 59 'certificate', 'entry_session', 'current_session') 60 61 class CustomStudyCourseManageFormPage(StudyCourseManageFormPage): 62 """ Page to edit the student study course data 63 """ 64 grok.context(ICustomStudentStudyCourse) 65 grok.template('studycoursemanagepage') 66 67 form_fields = grok.AutoFields(ICustomStudentStudyCourse).select( 68 'certificate', 'entry_session', 'current_session') -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/student.py
r10770 r10804 37 37 38 38 @property 39 def transcript_enabled(self): 40 user = get_current_principal() 41 if user.id in ('admin', 'isouaba', 'niyi', 'delejason'): 42 return True 39 def is_postgrad(self): 43 40 return False 44 41 -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/studycourse.py
r10770 r10804 35 35 grok.provides(ICustomStudentStudyCourse) 36 36 37 38 @property 39 def is_postgrad(self): 40 return False 41 42 43 @property 44 def next_session_allowed(self): 45 return True 46 47 37 48 CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse) 38 49 -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/viewlets.py
r10772 r10804 17 17 ## 18 18 19 from waeup.kofa.students.viewlets import StudentsTab 19 from waeup.kofa.students.viewlets import ( 20 StudentsTab, AdmissionSlipActionButton, StudentManageClearanceLink, 21 StudentManagePersonalLink, StudentManageAccommodationLink) 20 22 21 23 from kofacustom.ekodisco.interfaces import MessageFactory as _ … … 25 27 """ 26 28 27 @property 28 def link_target(self): 29 return None 29 #@property 30 #def link_target(self): 31 # return None 32 33 class AdmissionSlipActionButton(AdmissionSlipActionButton): 34 target = '' 35 36 class StudentManageClearanceLink(StudentManageClearanceLink): 37 link = '' 38 39 class CustomStudentManagePersonalLink(StudentManagePersonalLink): 40 link = '' 41 42 class CustomStudentManageAccommodationLink(StudentManageAccommodationLink): 43 link = ''
Note: See TracChangeset for help on using the changeset viewer.