Changeset 844
- Timestamp:
- 11 Nov 2006, 21:17:26 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml
r837 r844 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ waeup_</property>6 <property name="style_prefix">layout_clearance_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> … … 248 248 <property name="label_edit">Entry Date</property> 249 249 <property name="readonly_layout_modes"> 250 <element value="edit"/>251 250 </property> 252 251 <property name="hidden_layout_modes"> … … 263 262 <property name="label_edit">Entry Session</property> 264 263 <property name="readonly_layout_modes"> 265 <element value="edit"/>266 264 </property> 267 265 <property name="hidden_layout_modes"> … … 557 555 <property name="label_edit">Matriculation Number</property> 558 556 <property name="readonly_layout_modes"> 559 <element value="edit"/>560 557 </property> 561 558 <property name="hidden_layout_modes"> -
WAeUP_SRP/trunk/profiles/default/types/StudentAccommodation.xml
r839 r844 34 34 </action> 35 35 <action title="action_edit" action_id="edit" category="object" 36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit "36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 37 37 visible="True"> 38 38 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml
r839 r844 34 34 </action> 35 35 <action title="action_edit" action_id="edit" category="object" 36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit "36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 37 37 visible="True"> 38 38 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r840 r844 38 38 <action title="action_edit" action_id="edit" category="object" 39 39 condition_expr="" 40 url_expr="string:${object_url}/c psdocument_edit_form"40 url_expr="string:${object_url}/clearance_edit_form_manager" 41 41 visible="True"> 42 42 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentPume.xml
r839 r844 34 34 </action> 35 35 <action title="action_edit" action_id="edit" category="object" 36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit "36 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 37 37 visible="True"> 38 38 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/skins/waeup_academics/getAcademicsInfo.py
r805 r844 1 ## Script (Python) " cpsdocument_edit"1 ## Script (Python) "getAcademicsInfo" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_edit_form.pt
r842 r844 1 1 <tal:block define=" 2 info context/getStudentInfo; 2 3 rendered_main python:context.getContent().render(layout_mode='edit', 3 4 cluster=None, … … 9 10 edition python:True; 10 11 metadata metadata|nothing; 12 is_manager info/is_manager|nothing; 11 13 "> 12 14 <metal:block define-macro="edit_form"> … … 67 69 68 70 <metal:block fill-slot="header"> 71 <span tal:condition="not: is_manager"> 72 <metal:block use-macro="here/error_not_found/macros/not_found" /> 73 </span> 74 <span tal:condition="is_manager"> 69 75 <h3 tal:condition="creation" i18n:translate=""> 70 76 Create a document of type … … 91 97 <br /> 92 98 </span> 99 </span> 93 100 </metal:block> 94 101 95 96 97 <metal:block fill-slot="main"> 102 103 <metal:block fill-slot="main" tal:condition="is_manager"> 98 104 <form action="ACTION" method="post" id="editForm" 99 105 enctype="multipart/form-data" class="workflow" -
WAeUP_SRP/trunk/skins/waeup_default/isManager.py
r805 r844 1 ## Script (Python) " cpsdocument_edit"1 ## Script (Python) "isManager" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r832 r844 56 56 args = getFormUidUrlArg(REQUEST) 57 57 psm = "Please correct Your errors." 58 args['portal_status_message'] = psm 59 url = clear.absolute_url() + action + '?' + urlencode(args) 60 REQUEST.RESPONSE.redirect(url) 58 args['portal_status_message'] = psm 59 if args: 60 url = clear.absolute_url() + action + '?' + urlencode(args) 61 else: 62 url = clear.absolute_url() + action 63 REQUEST.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r832 r844 14 14 <metal:block define-macro="edit_form"> 15 15 <metal:block use-macro="here/waeup_content_master/macros/master"> 16 <metal:block fill-slot="style_slot">17 <link rel="Stylesheet" type="text/css" href=""18 tal:attributes="href string:${base_url}document.css" />19 20 <metal:block define-macro="widgets_javascript">21 <!-- XXX this has to move to CPSSchemas -->22 <style type="text/css"23 tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style>24 <script type="text/javascript" src="calendar.js"25 tal:attributes="src string:${base_url}calendar.js"></script>26 <script type="text/javascript" src="lang/calendar-en.js"27 tal:define="local cpsmcat/getSelectedLanguage"28 tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script>29 <script type="text/javascript" src="calendar-setup.js"30 tal:attributes="src string:${base_url}calendar-setup.js"></script>31 <script type="text/javascript" src="prototype.js"32 tal:attributes="src string:${base_url}prototype.js"></script>33 <script type="text/javascript" src="effects.js"34 tal:attributes="src string:${base_url}effects.js"></script>35 <script type="text/javascript" src="controls.js"36 tal:attributes="src string:${base_url}controls.js"></script>37 <script type="text/javascript" src="cpsdocument.js"38 tal:attributes="src string:${base_url}cpsdocument.js"></script>39 </metal:block>40 </metal:block>41 16 42 17 <metal:block fill-slot="header"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_slip.pt
r837 r844 7 7 <span tal:condition="info"> 8 8 9 <h3> MyClearance/Eligibility Record</h3>9 <h3>Clearance/Eligibility Record</h3> 10 10 <br /> 11 11 <span tal:omit-tag="" -
WAeUP_SRP/trunk/skins/waeup_student/layout_clearance_view.pt
r843 r844 19 19 <tr> 20 20 <tal:block condition="widget/label"> 21 <td valign="top" nowrap>21 <td width="180px" valign="top" nowrap> 22 22 <span i18n:translate="" tal:condition="widget/is_i18n"> 23 23 <span tal:content="widget/label" />:</span>
Note: See TracChangeset for help on using the changeset viewer.