- Timestamp:
- 28 Feb 2012, 19:34:51 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/containermanagepage.pt
r7464 r7718 1 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data"> 1 <form action="." tal:attributes="action request/URL" 2 i18n:domain="waeup.sirp" 3 method="POST" enctype="multipart/form-data"> 2 4 <table> 3 5 <thead> … … 5 7 <th> 6 8 </th> 7 <th >Id9 <th i18n:translate="">Id 8 10 </th> 9 <th >Name11 <th i18n:translate="">Name 10 12 </th> 11 13 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/containerpage.pt
r7464 r7718 1 <div tal:condition="python: not len(context.keys())"> 1 <div i18n:domain="waeup.sirp" 2 i18n:translate="" tal:condition="python: not len(context.keys())"> 2 3 There no subobjects registered yet. 3 4 </div> 4 5 5 <table >6 <table i18n:domain="waeup.sirp"> 6 7 <thead> 7 8 <tr> 8 <th >Id</th>9 <th >Name</th>9 <th i18n:translate="">Id</th> 10 <th i18n:translate="">Name</th> 10 11 </tr> 11 12 </thead> … … 13 14 <tr tal:repeat="value context/values"> 14 15 <td> <a tal:attributes="href value/__name__"> 15 <span tal:content="value/hostel_id">I d</span></a></td>16 <td tal:content="value/hostel_name">N ame</td>16 <span tal:content="value/hostel_id">ID</span></a></td> 17 <td tal:content="value/hostel_name">NAME</td> 17 18 </tr> 18 19 </tbody> -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/hostelmanagepage.pt
r7669 r7718 1 1 <form action="." tal:attributes="action request/URL" method="POST" 2 enctype="multipart/form-data">2 i18n:domain="waeup.sirp" enctype="multipart/form-data"> 3 3 4 4 <ul class="tabs" data-tabs="tabs"> 5 <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Hostel Data</span></a></li> 6 <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Beds</span></a></li> 5 <li tal:attributes="class view/tab1"><a href="#tab-1"> 6 <span i18n:translate="">Hostel Data</span></a> 7 </li> 8 <li tal:attributes="class view/tab2"><a href="#tab-2"> 9 <span i18n:translate="">Beds</span></a> 10 </li> 7 11 </ul> 8 12 … … 15 19 <td class="fieldname"> 16 20 <span class="required" tal:condition="widget/required">*</span> 17 <span tal:content="widget/label"> label</span>:21 <span tal:content="widget/label">LABEL</span>: 18 22 </td> 19 23 <td> … … 22 26 </span> 23 27 <tal:error tal:condition="widget/error"> 24 <span tal:replace="structure widget/error"> error</span>28 <span tal:replace="structure widget/error">ERROR</span> 25 29 </tal:error> 26 30 <tal:hint tal:condition="widget/hint"> 27 <span tal:content="structure widget/hint"> hint</span>31 <span tal:content="structure widget/hint">HINT</span> 28 32 </tal:hint> 29 33 </td> … … 47 51 <tr> 48 52 <th> </th> 49 <th >Id</th>50 <th >Type</th>51 <th >Number</th>52 <th >Owner</th>53 <th i18n:translate="">Id</th> 54 <th i18n:translate="">Type</th> 55 <th i18n:translate="">Number</th> 56 <th i18n:translate="">Owner</th> 53 57 </tr> 54 58 </thead> … … 59 63 tal:attributes="value value/__name__" /> 60 64 </td> 61 <td tal:content="value/bed_id">I d</td>62 <td tal:content="value/bed_type">T ype</td>63 <td tal:content="value/bed_number">N umber</td>65 <td tal:content="value/bed_id">ID</td> 66 <td tal:content="value/bed_type">TYPE</td> 67 <td tal:content="value/bed_number">NUMBER</td> 64 68 <td> 65 69 <a tal:condition="python: value.owner != view.not_occupied" 66 70 tal:attributes="href python: '%s/%s/accommodation' % 67 71 (view.students_url,value.owner)"> 68 <span tal:content="value/owner">O wner</span>72 <span tal:content="value/owner">OWNER</span> 69 73 </a> 70 74 <a tal:condition="python: value.owner == view.not_occupied" 71 tal:attributes="href python: view.url(value)"> 75 tal:attributes="href python: view.url(value)" 76 i18n:translate=""> 72 77 [allocate student] 73 78 </a>
Note: See TracChangeset for help on using the changeset viewer.