Changeset 2013
- Timestamp:
- 12 Jul 2007, 16:12:23 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 10 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r2002 r2013 509 509 'CertificateCourse',]} 510 510 widget_id = self.getWidgetId() 511 value = datastructure[widget_id] .upper()511 value = datastructure[widget_id] #.upper() is not necessary here because it's also done in waeup_document_create_do 512 512 err = 0 513 513 mapping = {} -
WAeUP_SRP/trunk/__init__.py
r1934 r2013 76 76 ("ScratchCards", 77 77 ("ScratchCardBatch", 78 "ScratchCardBatchesFolder", 79 ), 80 ) 78 "ScratchCardBatchesFolder", 79 ) 80 ), 81 ("Documents", 82 ("DocumentsFolder", 83 "WAeUPDocument", 84 ) 85 ), 81 86 ) 82 87 -
WAeUP_SRP/trunk/profiles/default/layouts/department.xml
r1449 r2013 30 30 </widget> 31 31 <widget name="code" meta_type="WAeUPId Widget"> 32 <property name="title">Department I D</property>32 <property name="title">Department Id</property> 33 33 <property name="fields"> 34 34 <element value="code"/> 35 35 </property> 36 36 <property name="is_required">True</property> 37 <property name="label">Department I D</property>38 <property name="label_edit">Department I D</property>37 <property name="label">Department Id</property> 38 <property name="label_edit">Department Id</property> 39 39 <property name="readonly_layout_modes"/> 40 40 <property name="hidden_layout_modes"> -
WAeUP_SRP/trunk/profiles/default/layouts/faculty.xml
r1449 r2013 41 41 </widget> 42 42 <widget name="code" meta_type="WAeUPId Widget"> 43 <property name="title">Faculty I D</property>43 <property name="title">Faculty Id</property> 44 44 <property name="fields"> 45 45 <element value="code"/> 46 46 </property> 47 47 <property name="is_required">True</property> 48 <property name="label">Faculty I D</property>49 <property name="label_edit">Faculty I D</property>48 <property name="label">Faculty Id</property> 49 <property name="label_edit">Faculty Id</property> 50 50 <property name="readonly_layout_modes"> 51 51 <element value="edit"/> -
WAeUP_SRP/trunk/profiles/default/layouts/waeup_common.xml
r1449 r2013 10 10 <widget name="Title" meta_type="String Widget"> 11 11 <property name="fields"> 12 <element value=" Title"/>12 <element value="title"/> 13 13 </property> 14 14 <property name="is_required">False</property> … … 16 16 <property name="label_edit">Title</property> 17 17 <property name="readonly_layout_modes"/> 18 <property name="hidden_layout_modes"/> 18 <property name="hidden_layout_modes"> 19 view 20 </property>> 19 21 <property name="hidden_readonly_layout_modes"/> 20 22 <property name="display_width">40</property> … … 22 24 </widget> 23 25 <widget name="code" meta_type="WAeUPId Widget"> 24 <property name="title">Object I D</property>26 <property name="title">Object Id</property> 25 27 <property name="fields"> 26 28 <element value="code"/> 27 29 </property> 28 30 <property name="is_required">True</property> 29 <property name="label">Object I D</property>30 <property name="label_edit">Object I D</property>31 <property name="label">Object Id</property> 32 <property name="label_edit">Object Id</property> 31 33 <property name="readonly_layout_modes"/> 32 34 <property name="hidden_layout_modes"> -
WAeUP_SRP/trunk/profiles/default/roots/campus.xml
r535 r2013 6 6 <object name="students" portal_type="StudentsFolder" /> 7 7 <object name="pins" portal_type="ScratchCardBatchesFolder" /> 8 <object name="documents" portal_type="DocumentsFolder" /> 8 9 </object> -
WAeUP_SRP/trunk/profiles/default/schemas.xml
r1944 r2013 28 28 <object name="student_create" meta_type="CPS Schema"/> 29 29 <object name="student_personal" meta_type="CPS Schema"/> 30 <object name="student_pume" meta_type="CPS Schema"/> 31 <object name="student_returning" meta_type="CPS Schema"/> 30 <object name="student_pume" meta_type="CPS Schema"/> 31 <object name="student_returning" meta_type="CPS Schema"/> 32 32 <object name="student_search" meta_type="CPS Schema"/> 33 33 <object name="student_study_course" meta_type="CPS Schema"/> … … 36 36 <object name="study_level" meta_type="CPS Schema"/> 37 37 <object name="university" meta_type="CPS Schema"/> 38 <object name="waeup_common" meta_type="CPS Schema"/> 38 39 </object> -
WAeUP_SRP/trunk/profiles/default/skins.xml
r1740 r2013 25 25 <object name="waeup_utilities" meta_type="Filesystem Directory View" 26 26 directory="WAeUP_SRP/skins/waeup_utilities"/> 27 <object name="waeup_documents" meta_type="Filesystem Directory View" 28 directory="WAeUP_SRP/skins/waeup_documents"/> 29 27 30 <skin-path name="CPSSkins"> 28 31 <layer name="waeup_custom" insert-after="custom"/> … … 33 36 <layer name="waeup_student" insert-after="waeup_custom"/> 34 37 <layer name="waeup_academics" insert-after="waeup_custom"/> 38 <layer name="waeup_documents" insert-after="waeup_custom"/> 35 39 <layer name="waeup_accommodation" insert-after="waeup_custom"/> 36 40 <layer name="waeup_utilities" insert-after="waeup_custom"/> … … 51 55 <layer name="waeup_student" insert-after="waeup_custom"/> 52 56 <layer name="waeup_academics" insert-after="waeup_custom"/> 57 <layer name="waeup_documents" insert-after="waeup_custom"/> 53 58 <layer name="waeup_accommodation" insert-after="waeup_custom"/> 54 59 <layer name="waeup_utilities" insert-after="waeup_custom"/> -
WAeUP_SRP/trunk/profiles/default/types.xml
r1449 r2013 32 32 <object name="StudyLevel" meta_type="CPS Flexible Type Information"/> 33 33 <object name="University" meta_type="CPS Flexible Type Information"/> 34 <object name="DocumentsFolder" meta_type="CPS Flexible Type Information"/> 35 <object name="WAeUPDocument" meta_type="CPS Flexible Type Information"/> 34 36 </object> -
WAeUP_SRP/trunk/profiles/default/vocabularies/local_gov_areas.xml
r1449 r2013 28 28 <item key="abia_ukwu_east" msgid="">Abia / Ukwu East</item> 29 29 <item key="abia_umuahia" msgid="">Abia / Umuahia</item> 30 <item key="abia_umuahia_north" msgid="">Abia / Umuahia North</item>31 30 <item key="abia_umuahia_south" msgid="">Abia / Umuahia South</item> 32 31 <item key="abia_umuahia-north" msgid="">Abia / Umuahia-North</item> -
WAeUP_SRP/trunk/profiles/default/workflows.xml
r1449 r2013 19 19 <object name="workspace_folder_wf" meta_type="CPS Workflow"/> 20 20 <object name="workspace_folderish_content_wf" meta_type="CPS Workflow"/> 21 <object name="waeup_document_wf" meta_type="CPS Workflow"/> 21 22 <bindings> 22 23 <default/> … … 123 124 <bound-workflow workflow_id="workspace_folder_wf"/> 124 125 </type> 126 <type type_id="DocumentsFolder"> 127 <bound-workflow workflow_id="waeup_section_wf"/> 128 </type> 129 <type type_id="WAeUPDocument"> 130 <bound-workflow workflow_id="waeup_document_wf"/> 131 </type> 125 132 </bindings> 126 133 </object> -
WAeUP_SRP/trunk/skins/waeup_accommodation/hall_delete.py
r1566 r2013 19 19 from Products.CMFCore.utils import getToolByName 20 20 here = context 21 if context.portal_type == "University":22 here = context.academics23 21 24 22 ti = getToolByName(here, 'portal_types').getTypeInfo(here.portal_type) -
WAeUP_SRP/trunk/skins/waeup_custom/folder_delete.py
r1366 r2013 13 13 """ 14 14 15 import logging 16 logger = logging.getLogger('Skins.folder_delete') 17 member_id = str(context.portal_membership.getAuthenticatedMember()) 18 15 19 from Products.CMFCore.utils import getToolByName 16 20 here = context 17 if context.portal_type == "University": 18 here = context.academics 21 22 #if context.portal_type == "University": 23 # here = context.academics 19 24 20 25 ti = getToolByName(here, 'portal_types').getTypeInfo(here.portal_type) 21 26 meth_id = ti.queryMethodID('view', 'folder_contents') 22 27 ret_url = here.absolute_url() + '/' + meth_id 28 23 29 24 30 -
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_create_do.py
r1724 r2013 10 10 from Products.CMFCore.utils import getToolByName 11 11 request = context.REQUEST 12 if type_name in ("StudyLevel","StudentStudyLevel"): 12 13 if type_name in ("StudyLevel","StudentStudyLevel","WAeUPDocument"): 13 14 id = datamodel.get('code') 14 15 else: -
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt
r1783 r2013 13 13 <metal:block define-macro="edit_form"> 14 14 <metal:block use-macro=template> 15 16 17 <metal:block fill-slot="style_slot"> 18 <link rel="Stylesheet" type="text/css" href="" 19 tal:attributes="href string:${base_url}document.css" /> 20 21 <metal:block define-macro="widgets_javascript"> 22 23 <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.FCKeditor')"> 24 <script type="text/javascript"> 25 var popup_editor_form = 'popup_fckeditor_form'; 26 var width = 640; 27 var height = 520; 28 </script> 29 </tal:block> 30 31 <script type="text/javascript"> 32 function popup_rte(input_id, label_edit) { 33 var args, value; 34 value = document.getElementById(input_id).value; 35 args = '?input_id='+input_id+'&label_edit='+escape(label_edit); 36 str_window_features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,dependent=1,width=' + width + ',height=' + height; 37 popup = window.open(popup_editor_form + args, input_id, str_window_features); 38 if (!popup.opener) { 39 popup.opener = window; 40 } 41 return false; 42 } 43 </script> 44 </metal:block> 45 </metal:block> 46 15 47 16 48 <metal:block fill-slot="header"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1996 r2013 76 76 info['clear_doc'].edit(mapping = {'cleared_date': current,}) 77 77 wftool.doActionFor(info['student'],'clear_and_validate') 78 psm = "Clearance and eligibility record is validated and andstudent is cleared!"78 psm = "Clearance and eligibility record is validated and student is cleared!" 79 79 elif clear_and_validate_button and info['review_state'] == "cleared_and_validated": 80 80 psm = "This student is already cleared!"
Note: See TracChangeset for help on using the changeset viewer.