- Timestamp:
- 20 May 2011, 09:39:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt
r6130 r6161 30 30 31 31 <div id="tab-1"> 32 33 <tbody>34 <tal:block repeat="widget view/widgets">35 <tr>36 <td class="label" tal:define="hint widget/hint">37 38 39 40 41 42 43 44 45 46 47 48 49 </td>50 <td class="field">51 52 53 54 55 56 57 </td>58 </tr>59 </tal:block>60 </tbody>61 32 <table class="zebra"> 33 <tbody> 34 <tal:block repeat="widget view/widgets"> 35 <tr> 36 <td class="label" tal:define="hint widget/hint"> 37 <label tal:condition="python:hint" 38 tal:attributes="for widget/name"> 39 <span class="required" tal:condition="widget/required" 40 >*</span><span i18n:translate="" 41 tal:content="widget/label">label</span> 42 </label> 43 <label tal:condition="python:not hint" 44 tal:attributes="for widget/name"> 45 <span class="required" tal:condition="widget/required" 46 >*</span><span i18n:translate="" 47 tal:content="widget/label">label</span> 48 </label>: 49 </td> 50 <td class="field"> 51 <div class="widget" tal:content="structure widget"> 52 <input type="text" /> 53 </div> 54 <div class="error" tal:condition="widget/error"> 55 <span tal:replace="structure widget/error">error</span> 56 </div> 57 </td> 58 </tr> 59 </tal:block> 60 </tbody> 61 </table> 62 62 63 <div id="actionsView"> 64 <span class="actionButtons" tal:condition="view/availableActions"> 65 <span tal:repeat="action view/actions" 66 tal:omit-tag=""> 67 <input tal:condition="python:action.label in view.taboneactions" 68 tal:replace="structure action/render"/> 69 </span> 63 <div class="actionButtons" tal:condition="view/availableActions"> 64 <span tal:repeat="action view/actions" 65 tal:omit-tag=""> 66 <input tal:condition="python:action.label in view.taboneactions" 67 tal:replace="structure action/render"/> 70 68 </span> 71 </div> 69 </div> 72 70 73 71 </div> … … 75 73 <div id="tab-2"> 76 74 <h3 tal:content="view/subunits">Departments</h3> 77 <table class="zebra">75 <table class="zebra"> 78 76 <thead> 79 77 <tr> … … 101 99 </tr> 102 100 </tbody> 103 </table>101 </table> 104 102 105 <div id="actionsView"> 106 <span class="actionButtons" tal:condition="view/availableActions"> 107 <span tal:repeat="action view/actions" 108 tal:omit-tag=""> 109 <input tal:condition="python:action.label in view.tabtwoactions" 110 tal:replace="structure action/render"/> 111 </span> 103 <div class="actionButtons" tal:condition="view/availableActions"> 104 <span tal:repeat="action view/actions" 105 tal:omit-tag=""> 106 <input tal:condition="python:action.label in view.tabtwoactions" 107 tal:replace="structure action/render"/> 112 108 </span> 113 </div> 109 </div> 114 110 </div> 115 111 116 112 <div id="tab-3"> 117 <h3>Manage local roles</h3> 113 <br /> 114 <table class="display dataTableManage"> 115 <thead> 116 <tr> 117 <th> </th><th>User</th><th>Local Role</th> 118 </tr> 119 </thead> 120 <tbody> 121 <tr tal:repeat="entry view/getUsersWithLocalRoles" 122 class="gradeB"> 123 <td> 124 <input type="checkbox" name="role_id" 125 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 126 </td> 127 <td tal:content="entry/user_title">User 128 </td> 129 <td tal:content="entry/local_role_title"> 130 Local Role 131 </td> 132 </tr> 133 </tbody> 134 </table> 135 <div class="actionButtons" tal:condition="view/availableActions"> 136 <span tal:repeat="action view/actions" 137 tal:omit-tag=""> 138 <input tal:condition="python:action.label in view.tabthreeactions1" 139 tal:replace="structure action/render"/> 140 </span> 141 </div> 142 <br /><br /> 118 143 <table class="zebra"> 119 144 <tr> 120 <td>121 <label>User:</label>122 </td>123 145 <td> 124 146 <select id="user" name="user" tal:repeat="user view/getUsers"> … … 127 149 </option> 128 150 </select> 129 </td>130 </tr>131 <tr>132 <td>133 <label>Local Role:</label>134 151 </td> 135 152 <td> … … 140 157 </select> 141 158 </td> 159 <td> 160 <div class="actionButtons" tal:condition="view/availableActions"> 161 <span tal:repeat="action view/actions" 162 tal:omit-tag=""> 163 <input tal:condition="python:action.label in view.tabthreeactions2" 164 tal:replace="structure action/render"/> 165 </span> 166 </div> 167 </td> 142 168 </tr> 143 169 </table> 144 145 <div id="actionsView">146 <span class="actionButtons" tal:condition="view/availableActions">147 <span tal:repeat="action view/actions"148 tal:omit-tag="">149 <input tal:condition="python:action.label in view.tabthreeactions"150 tal:replace="structure action/render"/>151 </span>152 </span>153 </div>154 170 </div> 155 171
Note: See TracChangeset for help on using the changeset viewer.