- Timestamp:
- 13 Oct 2006, 20:59:54 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/types/ScratchCardBatch.xml
r684 r695 26 26 <property name="storage_methods"/> 27 27 <property name="cps_is_portlet">False</property> 28 <alias from="(Default)" to="batch_ index_html"/>28 <alias from="(Default)" to="batch_view"/> 29 29 <alias from="create_do" to="scratch_card_batch_create_do"/> 30 30 <alias from="created" to="scratch_card_batch_created"/> 31 <alias from="view" to="batch_ index_html"/>31 <alias from="view" to="batch_view"/> 32 32 <action title="View" action_id="view" category="object" 33 condition_expr="" url_expr="string:${object_url}/batch_ index_html"33 condition_expr="" url_expr="string:${object_url}/batch_view" 34 34 visible="True"> 35 35 <permission value="Modify portal content"/> -
WAeUP_SRP/trunk/profiles/default/types/ScratchCardBatchesFolder.xml
r659 r695 25 25 <property name="storage_methods"/> 26 26 <property name="cps_is_portlet">False</property> 27 <alias from="(Default)" to="pins_ index_html"/>27 <alias from="(Default)" to="pins_view"/> 28 28 <alias from="create_do" to=""/> 29 29 <alias from="created" to=""/> 30 <alias from="view" to="pins_ index_html"/>30 <alias from="view" to="pins_view"/> 31 31 <action title="View" action_id="view" category="object" 32 condition_expr="" url_expr="string:${object_url}/pins_ index_html"32 condition_expr="" url_expr="string:${object_url}/pins_view" 33 33 visible="True"> 34 34 <permission value="View"/> -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt
r659 r695 39 39 </tr> 40 40 <tr tal:repeat="bt reserved"> 41 <td tal:content="bt/student" /> 41 <td> 42 <a href="" tal:attributes="href bt/student_url" 43 tal:content="bt/student"></a> 44 </td> 42 45 <td tal:content="bt/bed" /> 43 46 </tr> -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoHallInfo.py
r654 r695 39 39 info['bed_types'] = bt_list 40 40 res_list = [] 41 students_rpath = context.portal_catalog(meta_type = "StudentsFolder")[-1].relative_path 42 students_url = "%s/%s" % (context.portal_url(),students_rpath) 41 43 if reserved > 1: 42 44 for st in reserved: … … 44 46 res = pa(hall=context.getId(),student=st) 45 47 if res: 46 res_list.append({'student': st, 'bed': context.formatBed(res[0].bed) }) 48 res_list.append({'student': st, 49 'student_url': '%s/%s' % (students_url,st), 50 'bed': context.formatBed(res[0].bed) }) 47 51 info['reserved'] = res_list 48 52
Note: See TracChangeset for help on using the changeset viewer.