Changeset 177 for waeup_product
- Timestamp:
- 16 Nov 2005, 08:16:29 (19 years ago)
- Location:
- waeup_product/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r176 r177 36 36 'is_required': 1, 37 37 'label_edit': 'Headline', 38 'help': 'a short headline',38 'help': 'a Short Headline', 39 39 'display_width': 40, 40 40 'size_max': 200, … … 49 49 'label_edit': 'Text', 50 50 'label': 'Text', 51 'help': 'a short Description',51 'help': 'a Short Description', 52 52 'css_class': 'description', 53 53 'width': 72, … … 96 96 97 97 sc_pin = { ###( 98 'type': 'Scratchcard P inWidget',98 'type': 'Scratchcard PIN Widget', 99 99 'data': { 100 'title': 'SC P in',100 'title': 'SC PIN', 101 101 'fields': ('sc_pin'), 102 102 'is_required': True, 103 103 'label': 'enter PIN', 104 'label_edit': ' enter an Accommodation PIN',104 'label_edit': 'Enter an Accommodation PIN', 105 105 'description': '', 106 106 'help': 'Please enter a PIN valid for Accomodation booking', … … 211 211 'label_edit': 'First Name', 212 212 'description': 'First Name', 213 'help': 'First name',213 'help': 'First Name', 214 214 'is_i18n': False, 215 215 'display_width': 40, … … 228 228 'label_edit': 'Middle Name', 229 229 'description': '', 230 'help': ' middle name',230 'help': 'Middle Name', 231 231 'is_i18n': False, 232 232 'readonly_layout_modes': (), … … 278 278 'label_edit': 'Email', 279 279 'description': 'First Name', 280 'help': ' First name',280 'help': 'Email Address', 281 281 'is_i18n': False, 282 282 'display_width': 40, … … 321 321 'label_edit': 'New Password', 322 322 'description': '', 323 'help': ' enter a new Password',323 'help': 'Enter a New Password', 324 324 'is_i18n': 0, 325 325 'readonly_layout_modes': [], … … 352 352 'label_edit': 'Confirm Password', 353 353 'description': '', 354 'help': ' confirm the new Password',354 'help': 'Confirm the New Password', 355 355 'is_i18n': False, 356 356 'display_width': 12, … … 470 470 'type': 'String Widget', 471 471 'data': { 472 'title': 'Accommodation SC P in',472 'title': 'Accommodation SC PIN', 473 473 'fields': ('accommodation_sc_pin',), 474 474 'is_required': False, 475 'label': 'Accommodation SC P in',476 'label_edit': 'Accommodation SC P in',475 'label': 'Accommodation SC PIN', 476 'label_edit': 'Accommodation SC PIN', 477 477 'description': '', 478 478 'help': '', … … 514 514 'type': 'DateTime Widget', 515 515 'data': { 516 'title': 'Accommodation SC P in',516 'title': 'Accommodation SC PIN', 517 517 'fields': ('accommodation_date',), 518 518 'is_required': False, … … 558 558 'type': 'String Widget', 559 559 'data': { 560 'title': 'hostel_fee SC P in',560 'title': 'hostel_fee SC PIN', 561 561 'fields': ('hostel_fee_sc_pin',), 562 562 'is_required': False, 563 'label': 'Hostel Fee SC P in',564 'label_edit': 'Hostel Fee SC P in',563 'label': 'Hostel Fee SC PIN', 564 'label_edit': 'Hostel Fee SC PIN', 565 565 'description': '', 566 566 'help': '', … … 602 602 'type': 'DateTime Widget', 603 603 'data': { 604 'title': 'hostel_fee SC P in',604 'title': 'hostel_fee SC PIN', 605 605 'fields': ('hostel_fee_date',), 606 606 'is_required': False, … … 646 646 'type': 'String Widget', 647 647 'data': { 648 'title': 'Admission check SC P in',648 'title': 'Admission check SC PIN', 649 649 'fields': ('adm_check_sc_pin',), 650 650 'is_required': False, 651 'label': 'Admission check SC P in',652 'label_edit': 'Admission check SC P in',651 'label': 'Admission check SC PIN', 652 'label_edit': 'Admission check SC PIN', 653 653 'description': '', 654 654 'help': '', … … 690 690 'type': 'DateTime Widget', 691 691 'data': { 692 'title': 'Admission check SC P in',692 'title': 'Admission check SC PIN', 693 693 'fields': ('adm_check_date',), 694 694 'is_required': False, … … 734 734 'type': 'String Widget', 735 735 'data': { 736 'title': 'clearance SC P in',736 'title': 'clearance SC PIN', 737 737 'fields': ('clearance_sc_pin',), 738 738 'is_required': False, 739 'label': 'Clearance SC P in',740 'label_edit': 'Clearance SC P in',739 'label': 'Clearance SC PIN', 740 'label_edit': 'Clearance SC PIN', 741 741 'description': '', 742 742 'help': '', … … 778 778 'type': 'DateTime Widget', 779 779 'data': { 780 'title': 'clearance SC P in',780 'title': 'clearance SC PIN', 781 781 'fields': ('clearance_date',), 782 782 'is_required': False, … … 1079 1079 }, 1080 1080 'sc_pin': { 1081 'type': 'Scratchcard P inWidget',1082 'data': { 1083 'title': 'SC P in',1081 'type': 'Scratchcard PIN Widget', 1082 'data': { 1083 'title': 'SC PIN', 1084 1084 'fields': ('sc_pin'), 1085 1085 'is_required': True, 1086 'label': 'Scratchcard P in',1087 'label_edit': 'Scratchcard P in',1088 'description': '', 1089 'help': ' Please enter a valid Scratch card pin',1086 'label': 'Scratchcard PIN', 1087 'label_edit': 'Scratchcard PIN', 1088 'description': '', 1089 'help': 'Enter a Valid Scratch Card PIN', 1090 1090 'is_i18n': False, 1091 1091 'readonly_layout_modes': (), … … 1185 1185 },###) 1186 1186 'sc_pin': { 1187 'type': 'Scratchcard P inWidget',1188 'data': { 1189 'title': 'SC P in',1187 'type': 'Scratchcard PIN Widget', 1188 'data': { 1189 'title': 'SC PIN', 1190 1190 'fields': ('sc_pin'), 1191 1191 'is_required': True, … … 1247 1247 }, 1248 1248 'sc_pin': { 1249 'type': 'Scratchcard P inWidget',1250 'data': { 1251 'title': 'SC P in',1249 'type': 'Scratchcard PIN Widget', 1250 'data': { 1251 'title': 'SC PIN', 1252 1252 'fields': ('sc_pin'), 1253 1253 'is_required': True, … … 1376 1376 'label_edit': 'Registration Nr', 1377 1377 'description': 'The student id from JAMB', 1378 'help': 'The student idfrom JAMB',1378 'help': 'The Student ID from JAMB', 1379 1379 'is_i18n': False, 1380 1380 'display_width': 10, … … 1480 1480 'label_edit': 'Study Course', 1481 1481 'description': '', 1482 'help': ' The course to study',1482 'help': '', 1483 1483 'vocabulary': 'get_departments_voc', 1484 1484 'is_i18n': False, … … 1898 1898 'label_edit': 'Nr of Blocks', 1899 1899 'description': '', 1900 'help': ' Number of blocks',1900 'help': '', 1901 1901 'is_i18n': False, 1902 1902 'vocabulary': 'range10', … … 1912 1912 'label_edit': 'Nr of Floors', 1913 1913 'description': '', 1914 'help': ' Number of floors per block',1914 'help': '', 1915 1915 'is_i18n': False, 1916 1916 'vocabulary': 'range5', … … 1926 1926 'label_edit': 'Rooms per Floor', 1927 1927 'description': '', 1928 'help': ' Number of rooms per floor',1928 'help': '', 1929 1929 'is_i18n': False, 1930 1930 'vocabulary': 'range50', … … 1940 1940 'label_edit': 'Beds per Room', 1941 1941 'description': '', 1942 'help': ' Number of beds per room',1942 'help': '', 1943 1943 'is_i18n': False, 1944 1944 'vocabulary': 'range10', … … 2003 2003 },###) 2004 2004 'sc_pin': { ###( 2005 'type': 'Scratchcard P inWidget',2005 'type': 'Scratchcard PIN Widget', 2006 2006 'data': { 2007 'title': 'SC P in',2007 'title': 'SC PIN', 2008 2008 'fields': ('sc_pin'), 2009 2009 'is_required': True, … … 2084 2084 },###) 2085 2085 'sc_pin': { ###( 2086 'type': 'Scratchcard P inWidget',2086 'type': 'Scratchcard PIN Widget', 2087 2087 'data': { 2088 'title': 'SC P in',2088 'title': 'SC PIN', 2089 2089 'fields': ('sc_pin'), 2090 2090 'is_required': True, … … 2092 2092 'label_edit': 'enter an Accommodation PIN', 2093 2093 'description': '', 2094 'help': 'Please enter a PIN valid for Accomodation booking',2094 'help': 'Please enter a PIN valid for Accomodation Booking', 2095 2095 'is_i18n': False, 2096 2096 'readonly_layout_modes': (), … … 2166 2166 },###) 2167 2167 'sc_pin': { ###( 2168 'type': 'Scratchcard P inWidget',2168 'type': 'Scratchcard PIN Widget', 2169 2169 'data': { 2170 'title': 'SC P in',2170 'title': 'SC PIN', 2171 2171 'fields': ('sc_pin'), 2172 2172 'is_required': True, … … 2174 2174 'label_edit': 'enter an Hostel payment PIN', 2175 2175 'description': '', 2176 'help': 'Please enter a PIN valid for paying hostel fee',2176 'help': 'Please enter a PIN valid for Paying Hostel Fee', 2177 2177 'is_i18n': False, 2178 2178 'readonly_layout_modes': (), -
waeup_product/trunk/skins/waeup_student/clearance.py
r173 r177 45 45 search = catalog(SearchableText = "%s*" % s_id) 46 46 if len(search) < 1: 47 psm = "You rnot admitted"47 psm = "You are not admitted" 48 48 return context.clearance_form(rendered = res, 49 49 psm = psm, … … 52 52 sf = getattr(context,s_id,None) 53 53 if sf and getattr(sf,'PERSONAL',None): 54 psm = "Your a lready admitted, please login"54 psm = "Your are already admitted, please login" 55 55 return context.clearance_form(rendered = res, 56 56 psm = psm, … … 62 62 student.getContent().setScratchCardData('clearance',ds) 63 63 sc_pin = ds.get('sc_pin') 64 #return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=UnSeT&sc_pin=%s" 65 return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=123456&sc_pin=%s" 64 #return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=UnSeT&sc_pin=%s" 65 return REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=123456&sc_pin=%s" 66 66 % (context.absolute_url(),s_id,sc_pin))
Note: See TracChangeset for help on using the changeset viewer.