- Timestamp:
- 19 Sep 2018, 05:01:03 (6 years ago)
- Location:
- main/waeup.kofa/branches/henrik-transcript-workflow/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-transcript-workflow/src/waeup/kofa/students/browser.py
r15148 r15149 1183 1183 % (ob_class, self.context.student.student_id)) 1184 1184 self.context.student.history.addMessage('Transcript signed') 1185 self.redirect(self.url(self.context)) 1185 tz = getattr(queryUtility(IKofaUtils), 'tzinfo', pytz.utc) 1186 today = now(tz).strftime('%d/%m/%Y %H:%M:%S %Z') 1187 prev_transcript_signees = self.context.student.transcript_signees 1188 if prev_transcript_signees == None: 1189 prev_transcript_signees = '' 1190 self.context.student.transcript_signees = '''Signed by %s (%s) on %s 1191 1192 %s''' % (self.request.principal.title, self.request.principal.id, today, 1193 prev_transcript_signees) 1186 1194 return 1187 1195 … … 1212 1220 else: 1213 1221 self.correspondence = '' 1222 if self.context.transcript_signees is not None: 1223 self.signees = self.context.transcript_signees.replace('\n', '<br>') 1224 else: 1225 self.signees = '' 1214 1226 if SUBMIT is None: 1215 1227 return -
main/waeup.kofa/branches/henrik-transcript-workflow/src/waeup/kofa/students/browser_templates/transcriptrelease.pt
r15143 r15149 44 44 45 45 <div id="tab2" class="tab-pane"> 46 < p tal:content="structure view/correspondence"></p>46 <br /><p tal:content="structure view/correspondence"></p> 47 47 </div> 48 48 49 49 <div id="tab3" class="tab-pane"> 50 < p tal:content="structure context/transcript_signees"></p>50 <br /><p tal:content="structure view/signees"></p> 51 51 </div> 52 52 </div> -
main/waeup.kofa/branches/henrik-transcript-workflow/src/waeup/kofa/students/browser_templates/transcriptrequest.pt
r11551 r15149 73 73 74 74 <div id="tab2" class="tab-pane"> 75 < p tal:content="structure view/correspondence"></p>75 <br /><p tal:content="structure view/correspondence"></p> 76 76 </div> 77 77 </div>
Note: See TracChangeset for help on using the changeset viewer.