Changeset 6171 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 20 May 2011, 13:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt
r6169 r6171 26 26 <li><a href="#tab-1"><span>Settings</span></a></li> 27 27 <li><a href="#tab-2"> 28 28 <span tal:content="view/subunits">Contents</span> 29 29 </a></li> 30 30 <li><a href="#tab-3"><span>Local Roles</span></a></li> … … 33 33 <div id="tab-1"> 34 34 <table class="zebra"> 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 35 <tbody> 36 <tal:block repeat="widget view/widgets"> 37 <tr> 38 <td class="label" tal:define="hint widget/hint"> 39 <label tal:condition="python:hint" 40 tal:attributes="for widget/name"> 41 <span class="required" tal:condition="widget/required" 42 >*</span><span i18n:translate="" 43 tal:content="widget/label">label</span> 44 </label> 45 <label tal:condition="python:not hint" 46 tal:attributes="for widget/name"> 47 <span class="required" tal:condition="widget/required" 48 >*</span><span i18n:translate="" 49 tal:content="widget/label">label</span> 50 </label>: 51 </td> 52 <td class="field"> 53 <div class="widget" tal:content="structure widget"> 54 <input type="text" /> 55 </div> 56 <div class="error" tal:condition="widget/error"> 57 <span tal:replace="structure widget/error">error</span> 58 </div> 59 </td> 60 </tr> 61 </tal:block> 62 </tbody> 63 63 </table> 64 64 65 65 <div class="actionButtons" tal:condition="view/availableActions"> 66 67 68 69 70 66 <span tal:repeat="action view/actions" 67 tal:omit-tag=""> 68 <input tal:condition="python:action.label in view.taboneactions" 69 tal:replace="structure action/render"/> 70 </span> 71 71 </div> 72 72 … … 76 76 <h3 tal:content="view/subunits">Departments</h3> 77 77 <table class="zebra"> 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 78 <thead> 79 <tr> 80 <th> </th><th>Code</th><th>Title</th> 81 </tr> 82 </thead> 83 <tbody> 84 <tr tal:repeat="dep context/values"> 85 <td> 86 <input type="checkbox" 87 name="val_id" 88 tal:attributes="value dep/code" /> 89 </td> 90 <td> 91 <a tal:attributes="href python: view.url(dep)" 92 tal:content="dep/__name__"> 93 ID 94 </a> 95 </td> 96 <td> 97 <span tal:content="dep/title"> 98 ID 99 </span> 100 </td> 101 </tr> 102 </tbody> 103 103 </table> 104 104 105 105 <div class="actionButtons" tal:condition="view/availableActions"> 106 107 108 109 110 106 <span tal:repeat="action view/actions" 107 tal:omit-tag=""> 108 <input tal:condition="python:action.label in view.tabtwoactions" 109 tal:replace="structure action/render"/> 110 </span> 111 111 </div> 112 112 </div> … … 115 115 <br /> 116 116 <table class="display dataTableManage"> 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 117 <thead> 118 <tr> 119 <th> </th><th>User</th><th>Local Role</th> 120 </tr> 121 </thead> 122 <tbody> 123 <tr tal:repeat="entry view/getUsersWithLocalRoles" 124 class="gradeB"> 125 <td> 126 <input type="checkbox" name="role_id" 127 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> 128 </td> 129 <td tal:content="entry/user_title">User 130 </td> 131 <td tal:content="entry/local_role_title"> 132 Local Role 133 </td> 134 </tr> 135 </tbody> 136 136 </table> 137 137 <div class="actionButtons" tal:condition="view/availableActions"> 138 139 140 141 142 138 <span tal:repeat="action view/actions" 139 tal:omit-tag=""> 140 <input tal:condition="python:action.label in view.tabthreeactions1" 141 tal:replace="structure action/render"/> 142 </span> 143 143 </div> 144 144 <br /><br /> 145 145 <table class="zebra"> 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 146 <tr> 147 <td> 148 <select id="user" name="user"> 149 <option tal:repeat="user view/getUsers" 150 tal:attributes="value user/name"> 151 <span tal:replace="user/val/description">USERTITLE</span> 152 </option> 153 </select> 154 </td> 155 <td> 156 <select id="local_role" name="local_role"> 157 <option tal:repeat="localrole view/getLocalRoles" 158 tal:attributes="value localrole/name"> 159 <span tal:replace="localrole/title">LOCALROLETITLE</span> 160 </option> 161 </select> 162 </td> 163 <td> 164 <div class="actionButtons" tal:condition="view/availableActions"> 165 <span tal:repeat="action view/actions" 166 tal:omit-tag=""> 167 <input tal:condition="python:action.label in view.tabthreeactions2" 168 tal:replace="structure action/render"/> 169 </span> 170 </div> 171 </td> 172 </tr> 173 173 </table> 174 174 </div>
Note: See TracChangeset for help on using the changeset viewer.