Changeset 9971
- Timestamp:
- 19 Feb 2013, 21:04:21 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r9959 r9971 26 26 from waeup.kofa.browser.layout import action, jsaction 27 27 from waeup.kofa.students.browser import ( 28 StudentClearPage, StudentRejectClearancePage,29 28 StudyLevelEditFormPage, StudyLevelDisplayFormPage, 30 29 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlipPage, … … 203 202 def render(self): 204 203 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 205 Sem = translate('Sem.', 'waeup.kofa', target_language=portal_language)206 204 Code = translate('Code', 'waeup.kofa', target_language=portal_language) 207 205 Title = translate('Title', 'waeup.kofa', target_language=portal_language) … … 209 207 Faculty = translate('Faculty', 'waeup.kofa', target_language=portal_language) 210 208 Cred = translate(_('Credits'), 'waeup.uniben', target_language=portal_language) 211 Score = translate('Score', 'waeup.kofa', target_language=portal_language)212 209 studentview = StudentBasePDFFormPage(self.context.student, 213 210 self.request, self.omit_fields) … … 256 253 def render(self): 257 254 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 258 Sem = translate('Sem.', 'waeup.kofa', target_language=portal_language)259 255 Code = translate('Code', 'waeup.kofa', target_language=portal_language) 260 256 Title = translate('Title', 'waeup.kofa', target_language=portal_language) … … 262 258 Faculty = translate('Faculty', 'waeup.kofa', target_language=portal_language) 263 259 Cred = translate(_('Credits'), 'waeup.uniben', target_language=portal_language) 264 Score = translate('Score', 'waeup.kofa', target_language=portal_language)265 260 Grade = translate('Grade', 'waeup.kofa', target_language=portal_language) 266 261 studentview = StudentBasePDFFormPage(self.context.student, -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r9970 r9971 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 import grok19 18 from time import time 20 19 from zope.component import createObject, getUtility 21 from reportlab.lib.styles import getSampleStyleSheet22 from reportlab.platypus import Paragraph, Image, Table, Spacer23 20 from waeup.kofa.interfaces import (IKofaUtils, 24 21 CLEARED, RETURNING, PAID, REGISTERED, VALIDATED) 25 22 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 26 from waeup.kofa.accesscodes import create_accesscode27 23 from waeup.uniben.interfaces import MessageFactory as _ 28 from waeup.kofa.students.utils import (trans, render_student_data,29 render_table_data)30 24 31 25 class CustomStudentsUtils(NigeriaStudentsUtils):
Note: See TracChangeset for help on using the changeset viewer.