Changeset 6461 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 23 Jun 2011, 07:24:05 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt
r6460 r6461 41 41 </table> 42 42 43 < spanclass="actionButtons" tal:condition="view/availableActions">43 <div class="actionButtons" tal:condition="view/availableActions"> 44 44 <input tal:repeat="action view/actions" 45 45 tal:replace="structure action/render" 46 46 /> 47 </ span>47 </div> 48 48 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6460 r6461 1 <form action="." tal:attributes="action request/URL" method="POST" 2 class="edit-form" enctype="multipart/form-data"> 1 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data"> 3 2 <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2> 4 <div class="form-status" 5 tal:define="status view/status" 6 tal:condition="status"> 7 Form Status: 8 <span i18n:translate="" tal:content="view/status"> 9 Form status summary 3 <div class="form-status" tal:define="status view/status" tal:condition="status"> Form Status: 4 <span i18n:translate="" tal:content="view/status"> Form status summary 10 5 </span> 11 6 </div> … … 35 30 <td class="label"> 36 31 <label tal:attributes="for widget/name"> 37 <span class="required" tal:condition="widget/required">*</span> 38 <span i18n:translate="" tal:content="widget/label">label</span>: 39 </label> 40 </td> 32 <span class="required" tal:condition="widget/required">* 33 </span> 34 <span i18n:translate="" tal:content="widget/label">label 35 </span>: 36 </label> </td> 41 37 <td class="field"> 42 38 <span class="widget" tal:content="structure widget"> … … 44 40 </span> 45 41 <tal:error tal:condition="widget/error"> 46 <span tal:replace="structure widget/error">error</span> 42 <span tal:replace="structure widget/error">error 43 </span> 47 44 </tal:error> 48 45 <tal:hint tal:condition="widget/hint"> 49 <span class="hint" tal:content="structure widget/hint">hint </span>50 </tal:hint>51 </td>46 <span class="hint" tal:content="structure widget/hint">hint 47 </span> 48 </tal:hint> </td> 52 49 </tr> 53 50 </tal:block> 54 51 </tbody> 55 52 </table> 56 <span class="actionButtons" tal:condition="view/availableActions"> 57 <span tal:repeat="action view/actions" tal:omit-tag=""> 58 <input tal:condition="python:action.label in view.taboneactions" 59 tal:replace="structure action/render"/> 60 </span> 61 </span> 53 <div class="actionButtons" tal:condition="view/availableActions"> 54 <span tal:repeat="action view/actions" tal:omit-tag=""> 55 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 56 </span> 57 </div> 62 58 </div> 63 59 <div id="tab-2"> <h3>Applicants</h3> … … 74 70 </thead> 75 71 <tbody> 76 <tr tal:repeat="appl context/values"> 77 <td> 78 <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" /> 79 </td> 80 <td> 81 <a tal:attributes="href python: view.url(appl)" 82 tal:content="appl/__name__"> ID </a> 83 </td> 84 <td> 85 <span tal:replace="appl/state">state</span> 86 </td> 72 <tr tal:repeat="appl context/values"> <td> 73 <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" /> </td> <td> 74 <a tal:attributes="href python: view.url(appl)" tal:content="appl/__name__"> ID </a> </td> <td> 75 <span tal:replace="appl/state">state 76 </span> </td> 87 77 </tr> 88 78 </tbody> 89 </table> <br /><br />90 < spanclass="actionButtons" tal:condition="view/availableActions">79 </table> 80 <div class="actionButtons" tal:condition="view/availableActions"> 91 81 <span tal:repeat="action view/actions" tal:omit-tag=""> 92 <input tal:condition="python:action.label in view.tabtwoactions" 93 tal:replace="structure action/render"/> 82 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 94 83 </span> 95 </ span>84 </div> 96 85 </div> 97 86 <div id="tab-3"> <br /> 98 <table class="display dataTableManage"> 99 <thead> 100 <tr> 101 <th> 102 </th> 103 <th>User Id 104 </th> 105 <th>Name 106 </th> 107 <th>Local Role 108 </th> 109 </tr> 110 </thead> 111 <tbody> 112 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> 113 <td> 114 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 115 </td> 116 <td tal:content="entry/user_name"> USERNAME 117 </td> 118 <td tal:content="entry/user_title"> USERTITLE 119 </td> 120 <td tal:content="entry/local_role_title"> LOCAL ROLE 121 </td> 122 </tr> 123 </tbody> 124 </table> <br /><br /> 125 <div class="actionButtons" tal:condition="view/availableActions"> 126 <span tal:repeat="action view/actions" tal:omit-tag=""> 127 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 128 </span> 129 </div> <br /><br /> 130 <table class="zebra"> 131 <tr> 132 <td> 133 <select id="user" name="user"> 134 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 135 <span tal:replace="user/val/description">USERTITLE 136 </span> 137 </option> 138 </select> 139 </td> 140 <td> 141 <select id="local_role" name="local_role"> 142 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 143 <span tal:replace="localrole/title">LOCALROLETITLE 144 </span> 145 </option> 146 </select> 147 </td> 148 <td> 149 <div class="actionButtons" tal:condition="view/availableActions"> 150 <span tal:repeat="action view/actions" tal:omit-tag=""> 151 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 152 </span> 153 </div> 154 </td> 155 </tr> 156 </table> 87 <table class="display dataTableManage"> 88 <thead> 89 <tr> 90 <th> 91 </th> 92 <th>User Id 93 </th> 94 <th>Name 95 </th> 96 <th>Local Role 97 </th> 98 </tr> 99 </thead> 100 <tbody> 101 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td> 102 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 103 <td tal:content="entry/user_name"> USERNAME </td> 104 <td tal:content="entry/user_title"> USERTITLE </td> 105 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 106 </tr> 107 </tbody> 108 </table> 109 <div class="actionButtons" tal:condition="view/availableActions"> 110 <span tal:repeat="action view/actions" tal:omit-tag=""> 111 <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/> 112 </span> 113 </div> <br /><br /> 114 <table class="zebra"> 115 <tr> <td> 116 <select id="user" name="user"> 117 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 118 <span tal:replace="user/val/description">USERTITLE 119 </span> 120 </option> 121 </select> </td> <td> 122 <select id="local_role" name="local_role"> 123 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 124 <span tal:replace="localrole/title">LOCALROLETITLE 125 </span> 126 </option> 127 </select> </td> <td> 128 <div tal:condition="view/availableActions"> 129 <span tal:repeat="action view/actions" tal:omit-tag=""> 130 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/> 131 </span> 132 </div> </td> 133 </tr> 134 </table> 157 135 </div> 158 136 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt
r6460 r6461 48 48 </tbody> 49 49 </table> 50 < spanclass="actionButtons" tal:condition="view/availableActions">50 <div class="actionButtons" tal:condition="view/availableActions"> 51 51 <span tal:repeat="action view/actions" tal:omit-tag=""> 52 52 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 53 53 </span> 54 </ span>54 </div> 55 55 </div> 56 56 <div id="tab-2"> <br /> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_edit.pt
r6460 r6461 60 60 </table> 61 61 62 < ptal:condition="not: view/manage_applications">62 <div tal:condition="not: view/manage_applications"> 63 63 <input class="checkboxType" id="confirm_passport" name="confirm_passport" 64 64 type="checkbox" value="True"/> 65 65 I confirm that the Passport Photograph uploaded on this form is a 66 66 true picture of me. 67 </ p>67 </div> 68 68 69 < spanclass="actionButtons" tal:condition="view/availableActions">69 <div class="actionButtons" tal:condition="view/availableActions"> 70 70 <input tal:repeat="action view/actions" 71 71 tal:replace="structure action/render" 72 72 /> 73 </ span>73 </div> 74 74 </form>
Note: See TracChangeset for help on using the changeset viewer.