Changeset 2045 for WAeUP_SRP/trunk/skins
- Timestamp:
- 22 Jul 2007, 15:52:50 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getIdCardInfo.py
r2043 r2045 53 53 personal_doc = personal.getContent() 54 54 info['personal'] = personal_doc 55 56 cert_id = sbrain.course57 res = context.portal_catalog(portal_type = "Certificate", id = cert_id) 58 if res:59 brain = res[0] 60 info['sc_title'] = brain.Title55 56 #cert_id = sbrain.course 57 #res = context.portal_catalog(portal_type = "Certificate", id = cert_id) 58 #if res: 59 # brain = res[0] 60 # info['sc_title'] = brain.Title 61 61 62 62 return info -
WAeUP_SRP/trunk/skins/waeup_student/id_card_demo.pt
r2044 r2045 13 13 <tr> 14 14 <td colspan=2> 15 <div style="background-color:red; font-weight:bold; color:white; font-family:Courier New; font-size:1 00%">15 <div style="background-color:red; font-weight:bold; color:white; font-family:Courier New; font-size:120%"> 16 16 STUDENT IDENTITY CARD 17 17 </div> 18 <div style="background-color:white; font-weight:bold; color:black; font-family:Courier New; font-size:1 00%">18 <div style="background-color:white; font-weight:bold; color:black; font-family:Courier New; font-size:120%"> 19 19 UNIVERSITY OF ILORIN, ILORIN, NIGERIA 20 20 </div> 21 21 </td> 22 23 22 </tr> 24 23 … … 26 25 <td width="70%" valign="top"> 27 26 <table border=0 style="font-family:Courier New; font-size:100%; 28 29 27 background-image:url(ilorin_gray_demo.gif); background-repeat:no-repeat; background-position:50px 30px; 30 28 background-attachment:scroll;"> 31 32 29 <tr> 33 30 <td valign="top" width="40%">NAMES:</td> … … 45 42 </tr> 46 43 47 48 44 49 45 <span tal:define="f_id info/scatalog/faculty; … … 105 101 <tr> 106 102 <td> 107 <div style="background-color:black; margin:0px; padding:4px ">103 <div style="background-color:black; margin:0px; padding:4px; margin-top:10px"> 108 104 </div> 109 105 110 106 </td> 111 107 </tr> 112 <tr height=" 60%" >108 <tr height="50%" > 113 109 <td> 114 110 <div style="padding:10px">This identity card is not transferable. It must be produced anytime it's requested by any
Note: See TracChangeset for help on using the changeset viewer.