Changeset 10650 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 25 Sep 2013, 06:46:53 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r10647 r10650 2930 2930 2931 2931 def label(self): 2932 return 'Students in %s' % self.context.longtitle ()2932 return 'Students in %s' % self.context.longtitle 2933 2933 2934 2934 def _set_session_values(self): … … 2996 2996 2997 2997 def label(self): 2998 return 'Students studying %s' % self.context.longtitle ()2998 return 'Students studying %s' % self.context.longtitle 2999 2999 3000 3000 def _searchCatalog(self, session, level): … … 3024 3024 3025 3025 def label(self): 3026 return 'Students registered for %s' % self.context.longtitle ()3026 return 'Students registered for %s' % self.context.longtitle 3027 3027 3028 3028 def _searchCatalog(self, session, level): -
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r10296 r10650 476 476 value = certificate.title 477 477 if name == 'department' and certificate is not None: 478 value = certificate.__parent__.__parent__.longtitle ()478 value = certificate.__parent__.__parent__.longtitle 479 479 if name == 'faculty' and certificate is not None: 480 value = certificate.__parent__.__parent__.__parent__.longtitle ()480 value = certificate.__parent__.__parent__.__parent__.longtitle 481 481 if name == 'passport_path' and certificate is not None: 482 482 file_id = IFileStoreNameChooser(context).chooseName(attr='passport.jpg') -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r10617 r10650 152 152 self.faccode = faccode 153 153 self.depcode = depcode 154 self.factitle = site['faculties'][faccode].longtitle ()155 self.deptitle = site['faculties'][faccode][depcode].longtitle ()154 self.factitle = site['faculties'][faccode].longtitle 155 self.deptitle = site['faculties'][faccode][depcode].longtitle 156 156 self.author = author 157 157 self.creation_dt_string = self.creation_dt.astimezone( … … 272 272 for dep in fac.values(): 273 273 faccode_depcodes.append( 274 ('%s (%s)' %(dep.longtitle (), fac.longtitle()),274 ('%s (%s)' %(dep.longtitle, fac.longtitle), 275 275 '%s_%s' %(fac.code, dep.code))) 276 276 self.faccode_depcodes = sorted( -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r10621 r10650 130 130 self.faccode = faccode 131 131 self.depcode = depcode 132 self.factitle = site['faculties'][faccode].longtitle ()133 self.deptitle = site['faculties'][faccode][depcode].longtitle ()132 self.factitle = site['faculties'][faccode].longtitle 133 self.deptitle = site['faculties'][faccode][depcode].longtitle 134 134 self.author = author 135 135 self.creation_dt_string = self.creation_dt.astimezone( -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r10578 r10650 142 142 f_label = Paragraph(f_label, ENTRY1_STYLE) 143 143 f_text = formatted_text( 144 studentview.context['studycourse'].certificate.longtitle ())144 studentview.context['studycourse'].certificate.longtitle) 145 145 f_text = Paragraph(f_text, ENTRY1_STYLE) 146 146 data_right.append([f_label,f_text]) … … 150 150 f_text = formatted_text( 151 151 studentview.context[ 152 'studycourse'].certificate.__parent__.__parent__.longtitle (),152 'studycourse'].certificate.__parent__.__parent__.longtitle, 153 153 ) 154 154 f_text = Paragraph(f_text, ENTRY1_STYLE) … … 159 159 f_text = formatted_text( 160 160 studentview.context[ 161 'studycourse'].certificate.__parent__.__parent__.__parent__.longtitle (),161 'studycourse'].certificate.__parent__.__parent__.__parent__.longtitle, 162 162 ) 163 163 f_text = Paragraph(f_text, ENTRY1_STYLE) … … 727 727 f_label = trans(_('Course of Study:'), portal_language) 728 728 f_label = Paragraph(f_label, ENTRY1_STYLE) 729 f_text = formatted_text(view.context.certificate.longtitle ())729 f_text = formatted_text(view.context.certificate.longtitle) 730 730 f_text = Paragraph(f_text, ENTRY1_STYLE) 731 731 contextdata.append([f_label,f_text]) … … 734 734 f_label = Paragraph(f_label, ENTRY1_STYLE) 735 735 f_text = formatted_text( 736 view.context.certificate.__parent__.__parent__.__parent__.longtitle ())736 view.context.certificate.__parent__.__parent__.__parent__.longtitle) 737 737 f_text = Paragraph(f_text, ENTRY1_STYLE) 738 738 contextdata.append([f_label,f_text]) … … 741 741 f_label = Paragraph(f_label, ENTRY1_STYLE) 742 742 f_text = formatted_text( 743 view.context.certificate.__parent__.__parent__.longtitle ())743 view.context.certificate.__parent__.__parent__.longtitle) 744 744 f_text = Paragraph(f_text, ENTRY1_STYLE) 745 745 contextdata.append([f_label,f_text])
Note: See TracChangeset for help on using the changeset viewer.