Changeset 2344
- Timestamp:
- 10 Oct 2007, 21:33:35 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2342 r2344 1387 1387 do = 0 1388 1388 err ='You are not a Student. PIN neither checked nor used.' 1389 s_logger.info('%s tried to use scratch card %s' % ( s_id,pin_str))1389 s_logger.info('%s tried to use scratch card %s' % (member_id,pin_str)) 1390 1390 elif len(b) > 1 and b.find('-') > -1: 1391 1391 do = 0 … … 1744 1744 if not os.path.exists(base_path): 1745 1745 os.mkdir(base_path) 1746 full_path = os.path.join(base_path, file _name)1746 full_path = os.path.join(base_path, filename) 1747 1747 pict = open(full_path,"w") 1748 1748 fileupload.seek(0) … … 1786 1786 id_field = "" 1787 1787 show_image = False 1788 1788 1789 1789 def getImageInfo(self, datastructure): ###( 1790 1790 """Get the file info from the datastructure.""" -
WAeUP_SRP/base/skins/waeup_layout/widget_passport_render.pt
r2243 r2344 22 22 </span> 23 23 <tal:block condition="python: mode == 'edit'"> 24 <metal:block use-macro="here/widget_file_render/macros/file_size_max_view" />24 25 25 <metal:block define-macro="image_title_edit"> 26 26 <span tal:condition="python:0"> … … 31 31 <img tal:condition="python:not empty_file and not session_file" 32 32 tal:replace="structure image_tag" /> 33 33 34 <metal:block define-macro="image_edit"> 34 35 <metal:block use-macro="here/widget_file_render/macros/file_edit"> … … 45 46 </metal:block> 46 47 </metal:block> 48 <metal:block use-macro="here/widget_file_render/macros/file_size_max_view" /> 49 47 50 </tal:block> 48 51 </tal:block> -
WAeUP_SRP/fceokene/profiles/default/applicants_catalog.xml
r2113 r2344 10 10 <column value="lastname"/> 11 11 <column value="lga"/> 12 <column value="jamb_age"/> 13 <column value="jamb_state"/> 14 <column value="jamb_lga"/> 12 15 <column value="email"/> 13 16 <column value="phone"/> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_pde.xml
r2340 r2344 68 68 <property name="hidden_readonly_layout_modes"/> 69 69 <property name="css_class_expr">string:row</property> 70 </widget> 70 </widget> 71 72 71 73 <widget name="date_of_birth" meta_type="DateTime Widget"> 72 74 <property name="title">Date of Birth</property> … … 77 79 <property name="label_edit">Date of Birth (dd/mm/yyyy)</property> 78 80 <property name="description"></property> 79 <property name="is_required"> True</property>81 <property name="is_required">False</property> 80 82 <property name="help"></property> 81 83 <property name="is_i18n">False</property> … … 89 91 <property name="hidden_readonly_layout_modes"/> 90 92 <property name="css_class_expr">string:row</property> 91 <property name="is_i18n">False</property> 92 </widget> 93 </widget> 94 95 93 96 <widget name="department" meta_type="String Widget"> 94 97 <property name="title">Department</property> … … 388 391 <property name="css_class_expr">string:row</property> 389 392 </widget> 390 <widget name="passport" meta_type=" No ZodbImage Widget">393 <widget name="passport" meta_type="Application Image Widget"> 391 394 <property name="title">Passport Photograph</property> 392 395 <property name="fields"> … … 689 692 <cell name="lastname" ncols="2"/> 690 693 </row> 691 692 694 <row> 693 695 <cell name="jamb_age" ncols="2"/> … … 696 698 <cell name="date_of_birth" ncols="2"/> 697 699 </row> 698 700 701 702 703 699 704 <row> 700 705 <cell name="jamb_state" ncols="2"/> … … 706 711 <cell name="lga" ncols="2"/> 707 712 </row> 708 713 709 714 <row> 710 715 <cell name="email" ncols="2"/> … … 734 739 <cell name="passport" ncols="2"/> 735 740 </row> 741 736 742 </table> 737 743 </object>
Note: See TracChangeset for help on using the changeset viewer.