Changeset 6460 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 23 Jun 2011, 07:06:33 (13 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
r6345 r6460 41 41 </table> 42 42 43 <div id="actionsView"> 44 <span class="actionButtons" tal:condition="view/availableActions"> 45 <input tal:repeat="action view/actions" 43 <span class="actionButtons" tal:condition="view/availableActions"> 44 <input tal:repeat="action view/actions" 46 45 tal:replace="structure action/render" 47 46 /> 48 </span> 49 </div> 47 </span> 50 48 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6383 r6460 54 54 </tbody> 55 55 </table> 56 <div id="actionsView"> 57 <span class="actionButtons" tal:condition="view/availableActions"> 58 <span tal:repeat="action view/actions" tal:omit-tag=""> 59 <input tal:condition="python:action.label in view.taboneactions" 60 tal:replace="structure action/render"/> 61 </span> 62 </span> 63 </div> 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> 64 62 </div> 65 63 <div id="tab-2"> <h3>Applicants</h3> … … 90 88 </tbody> 91 89 </table><br /><br /> 92 <div id="actionsView"> 93 <span class="actionButtons" tal:condition="view/availableActions"> 94 <span tal:repeat="action view/actions" tal:omit-tag=""> 95 <input tal:condition="python:action.label in view.tabtwoactions" 96 tal:replace="structure action/render"/> 97 </span> 90 <span class="actionButtons" tal:condition="view/availableActions"> 91 <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"/> 98 94 </span> 99 </ div>95 </span> 100 96 </div> 101 97 <div id="tab-3"> <br /> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt
r6184 r6460 10 10 </ul> 11 11 </div> 12 <form action="." tal:attributes="action request/URL" method="POST" 13 class="edit-form" enctype="multipart/form-data"> 12 <form action="." tal:attributes="action request/URL" method="POST" class="edit-form" enctype="multipart/form-data"> 14 13 <div id="tabs"> 15 14 <ul> … … 42 41 <tbody> 43 42 <tr tal:repeat="entry context/values" class="gradeB"> <td> 44 <input type="checkbox" name="val_id" 45 tal:attributes="value entry/__name__" /> </td> 43 <input type="checkbox" name="val_id" tal:attributes="value entry/__name__" /> </td> 46 44 <td tal:content="entry/year">Year </td> <td> 47 <a href="" tal:attributes="href python:view.url(entry)" 48 tal:content="entry/__name__">Code</a> </td> 45 <a href="" tal:attributes="href python:view.url(entry)" tal:content="entry/__name__">Code</a> </td> 49 46 <td tal:content="entry/title">Title </td> 50 47 </tr> 51 48 </tbody> 52 49 </table> 53 <div id="actionsView"> 54 <span class="actionButtons" tal:condition="view/availableActions"> 55 <span tal:repeat="action view/actions" tal:omit-tag=""> 56 <input tal:condition="python:action.label in view.taboneactions" 57 tal:replace="structure action/render"/> 58 </span> 50 <span class="actionButtons" tal:condition="view/availableActions"> 51 <span tal:repeat="action view/actions" tal:omit-tag=""> 52 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 59 53 </span> 60 </ div>54 </span> 61 55 </div> 62 56 <div id="tab-2"> <br /> 63 <table class="display dataTableManage"> 64 <thead> 65 <tr> 66 <th> 67 </th> 68 <th>User Id 69 </th> 70 <th>Name 71 </th> 72 <th>Local Role 73 </th> 74 </tr> 75 </thead> 76 <tbody> 77 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> 78 <td> 79 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 80 </td> 81 <td tal:content="entry/user_name"> USERNAME 82 </td> 83 <td tal:content="entry/user_title"> USERTITLE 84 </td> 85 <td tal:content="entry/local_role_title"> LOCAL ROLE 86 </td> 87 </tr> 88 </tbody> 89 </table> <br /><br /> 90 <div class="actionButtons" tal:condition="view/availableActions"> 91 <span tal:repeat="action view/actions" tal:omit-tag=""> 92 <input tal:condition="python:action.label in view.tabtwoactions1" tal:replace="structure action/render"/> 93 </span> 94 </div> <br /><br /> 95 <table class="zebra"> 96 <tr> 97 <td> 98 <select id="user" name="user"> 99 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 100 <span tal:replace="user/val/description">USERTITLE 101 </span> 102 </option> 103 </select> 104 </td> 105 <td> 106 <select id="local_role" name="local_role"> 107 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 108 <span tal:replace="localrole/title">LOCALROLETITLE 109 </span> 110 </option> 111 </select> 112 </td> 113 <td> 114 <div class="actionButtons" tal:condition="view/availableActions"> 115 <span tal:repeat="action view/actions" tal:omit-tag=""> 116 <input tal:condition="python:action.label in view.tabtwoactions2" tal:replace="structure action/render"/> 117 </span> 118 </div> 119 </td> 120 </tr> 121 </table> 57 <table class="display dataTableManage"> 58 <thead> 59 <tr> 60 <th> 61 </th> 62 <th>User Id 63 </th> 64 <th>Name 65 </th> 66 <th>Local Role 67 </th> 68 </tr> 69 </thead> 70 <tbody> 71 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td> 72 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 73 <td tal:content="entry/user_name"> USERNAME </td> 74 <td tal:content="entry/user_title"> USERTITLE </td> 75 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 76 </tr> 77 </tbody> 78 </table> 79 <div class="actionButtons" tal:condition="view/availableActions"> 80 <span tal:repeat="action view/actions" tal:omit-tag=""> 81 <input tal:condition="python:action.label in view.tabtwoactions1" tal:replace="structure action/render"/> 82 </span> 83 </div> <br /><br /> 84 <table class="zebra"> 85 <tr> <td> 86 <select id="user" name="user"> 87 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 88 <span tal:replace="user/val/description">USERTITLE 89 </span> 90 </option> 91 </select> </td> <td> 92 <select id="local_role" name="local_role"> 93 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 94 <span tal:replace="localrole/title">LOCALROLETITLE 95 </span> 96 </option> 97 </select> </td> <td> 98 <div tal:condition="view/availableActions"> 99 <span tal:repeat="action view/actions" tal:omit-tag=""> 100 <input tal:condition="python:action.label in view.tabtwoactions2" tal:replace="structure action/render"/> 101 </span> 102 </div> </td> 103 </tr> 104 </table> 122 105 </div> 123 106 </div> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_edit.pt
r6355 r6460 67 67 </p> 68 68 69 <div id="actionsView"> 70 <span class="actionButtons" tal:condition="view/availableActions"> 71 <input tal:repeat="action view/actions" 72 tal:replace="structure action/render" 73 /> 74 </span> 75 </div> 69 <span class="actionButtons" tal:condition="view/availableActions"> 70 <input tal:repeat="action view/actions" 71 tal:replace="structure action/render" 72 /> 73 </span> 76 74 </form>
Note: See TracChangeset for help on using the changeset viewer.