Changeset 5133 for WAeUP_SRP/trunk
- Timestamp:
- 6 Apr 2010, 09:30:16 (15 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_slip.pt
r3727 r5133 11 11 12 12 <h3><span tal:content="titles/StudentClearance" /> Slip</h3> 13 <br />14 13 <span tal:omit-tag="" 15 14 tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], … … 43 42 </tr> 44 43 </table> 45 46 44 <span tal:omit-tag="" 47 45 tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'], 48 layout_mode='view ',46 layout_mode='view_slip', 49 47 layout_id='student_clearance_fe')" 50 48 /> 51 <span tal:condition="not:context/isStudent"> 52 <br /><br /> 53 <table width=100%> 54 <tr > 55 <td width=50%>Date:</td><td>Date:</td> 56 </tr> 57 </table> 58 59 <br /><br /><br /><br /> 60 <table width=100%> 61 <tr > 62 <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> 63 <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Clearance Officer</td> 64 </tr> 65 </table> 66 </span> 49 67 50 68 51 </span> -
WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py
r5029 r5133 19 19 import logging 20 20 logger = logging.getLogger('Skins.getClearanceInfo') 21 from DateTime import DateTime 21 import DateTime 22 now = DateTime.DateTime() 23 22 24 23 25 request = context.REQUEST … … 28 30 path_info = request.get('PATH_INFO').split('/') 29 31 30 # if mtool.isAnonymousUser():31 # return None32 # info = {}33 # #from Products.zdb import set_trace34 # #set_trace()35 # requested_id = context.getStudentId()36 # if requested_id and not context.isStaff() and member_id != requested_id:37 # logger.info('%s tried to access %s' % (member_id,requested_id))38 # return None39 # elif context.isStaff():40 # student_id = requested_id41 # else:42 # student_id = member_id43 32 44 33 info = context.waeup_tool.getAccessInfo(context) 34 35 info['timestamp'] = "%d" % int(now.timeTime()*1000) 36 45 37 student_id = info['student_id'] 46 38 if student_id is None: -
WAeUP_SRP/trunk/skins/waeup_uniben/slip_template.pt
r3709 r5133 96 96 <td valign="top" style="width:700px"> 97 97 <div style="padding:2em; text-align: left;" 98 class="fontColordefaultfontcolors fontShapeTitleindex shapeAreaShape">98 class="fontColordefaultfontcolors fontShapeTitleindex "> 99 99 <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" /> 100 100 <metal:block define-slot="header" />
Note: See TracChangeset for help on using the changeset viewer.