Changeset 7710 for main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt
- Timestamp:
- 27 Feb 2012, 16:14:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt
r7464 r7710 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" method="POST" enctype="multipart/form-data"> 2 3 <ul class="tabs" data-tabs="tabs"> 3 4 <li class="active"> … … 8 9 <li> 9 10 <a href="#tab-2"> 10 <span >Local Roles11 <span i18n:translate="">Local Roles 11 12 </span></a> 12 13 </li> … … 14 15 <div class="tab-content"> 15 16 <div id="tab-1" class="active"> 16 <h3 tal:content="view/subunits"> Applicants Containers</h3>17 <h3 tal:content="view/subunits">SUBUNITS</h3> 17 18 <table class="display dataTableManage"> 18 19 <thead> … … 20 21 <th> 21 22 </th> 22 <th >Year23 <th i18n:translate="">Year 23 24 </th> 24 <th >Code25 <th i18n:translate="">Code 25 26 </th> 26 <th >Title27 <th i18n:translate="">Title 27 28 </th> 28 29 </tr> … … 30 31 <tbody> 31 32 <tr tal:repeat="entry context/values" class="gradeC"> <td> 32 <input type="checkbox" name="val_id" tal:attributes="value entry/__name__" /> </td> 33 <td tal:content="entry/year">Year </td> <td> 34 <a href="" tal:attributes="href python:view.url(entry)" tal:content="entry/__name__">Code</a> </td> 35 <td tal:content="entry/title">Title </td> 33 <input type="checkbox" name="val_id" 34 tal:attributes="value entry/__name__" /> </td> 35 <td tal:content="entry/year">YEAR</td> <td> 36 <a href="" 37 tal:attributes="href python:view.url(entry)" 38 tal:content="entry/__name__">CODE</a> </td> 39 <td tal:content="entry/title">TITLE</td> 36 40 </tr> 37 41 </tbody> … … 39 43 <div tal:condition="view/availableActions"> 40 44 <span tal:repeat="action view/actions" tal:omit-tag=""> 41 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 45 <input tal:condition="python:action.label in view.taboneactions" 46 tal:replace="structure action/render"/> 42 47 </span> 43 48 </div> … … 49 54 <th> 50 55 </th> 51 <th >User Id56 <th i18n:translate="">User Id 52 57 </th> 53 <th >Name58 <th i18n:translate="">Name 54 59 </th> 55 <th >Local Role60 <th i18n:translate="">Local Role 56 61 </th> 57 62 </tr> 58 63 </thead> 59 64 <tbody> 60 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 61 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 62 <td tal:content="entry/user_name"> USERNAME </td> 63 <td tal:content="entry/user_title"> USERTITLE </td> 64 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 65 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> 66 <td> <input type="checkbox" name="role_id" 67 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 68 <td tal:content="entry/user_name">USERNAME</td> 69 <td tal:content="entry/user_title">USERTITLE</td> 70 <td tal:content="entry/local_role_title">LOCAL ROLE</td> 65 71 </tr> 66 72 </tbody> … … 68 74 <div tal:condition="view/availableActions"> 69 75 <span tal:repeat="action view/actions" tal:omit-tag=""> 70 <input tal:condition="python:action.label in view.tabtwoactions1" tal:replace="structure action/render"/> 76 <input tal:condition="python:action.label in view.tabtwoactions1" 77 tal:replace="structure action/render"/> 71 78 </span> 72 79 </div> <br /><br /> … … 74 81 <tr> <td> 75 82 <select id="user" name="user"> 76 <option tal:repeat="user view/getUsers" tal:attributes="value user/name"> 83 <option tal:repeat="user view/getUsers" 84 tal:attributes="value user/name"> 77 85 <span tal:replace="user/val/title">USERTITLE 78 86 </span> … … 80 88 </select> </td> <td> 81 89 <select id="local_role" name="local_role"> 82 <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name"> 90 <option tal:repeat="localrole view/getLocalRoles" 91 tal:attributes="value localrole/name"> 83 92 <span tal:replace="localrole/title">LOCALROLETITLE 84 93 </span> … … 87 96 <div tal:condition="view/availableActions"> 88 97 <span tal:repeat="action view/actions" tal:omit-tag=""> 89 <input tal:condition="python:action.label in view.tabtwoactions2" tal:replace="structure action/render"/> 98 <input tal:condition="python:action.label in view.tabtwoactions2" 99 tal:replace="structure action/render"/> 90 100 </span> 91 101 </div> </td>
Note: See TracChangeset for help on using the changeset viewer.