Changeset 7706 for main/waeup.sirp/trunk/src
- Timestamp:
- 26 Feb 2012, 21:16:00 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r7669 r7706 1 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data"> 1 <form action="." tal:attributes="action request/URL" method="POST" 2 i18n:domain="waeup.sirp" enctype="multipart/form-data"> 2 3 <ul class="tabs" data-tabs="tabs"> 3 4 <li tal:attributes="class view/tab1"> 4 5 <a href="#tab-1"> 5 <span >Settings6 <span i18n:translate="">Settings 6 7 </span></a> 7 8 </li> 8 9 <li tal:attributes="class view/tab2"> 9 <a href="#tab-2" >Courses</a>10 <a href="#tab-2" i18n:translate="">Courses</a> 10 11 </li> 11 12 <li tal:attributes="class view/tab3"> 12 <a href="#tab-3" >Certificates</a>13 <a href="#tab-3" i18n:translate="">Certificates</a> 13 14 </li> 14 15 <li tal:attributes="class view/tab4"> 15 <a href="#tab-4" >Local Roles</a>16 <a href="#tab-4" i18n:translate="">Local Roles</a> 16 17 </li> 17 18 </ul> … … 46 47 <div tal:condition="view/availableActions"> 47 48 <span tal:repeat="action view/actions" tal:omit-tag=""> 48 <input tal:condition="python:action.label in view.taboneactions" tal:replace="structure action/render"/> 49 <input tal:condition="python:action.label in view.taboneactions" 50 tal:replace="structure action/render"/> 49 51 </span> 50 52 </div> … … 56 58 <th> 57 59 </th> 58 <th >Code60 <th i18n:translate="">Code 59 61 </th> 60 <th >Title62 <th i18n:translate="">Title 61 63 </th> 62 64 </tr> … … 64 66 <tbody> 65 67 <tr tal:repeat="entry view/getCourses" class="gradeC"> <td> 66 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 67 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> 68 <input type="checkbox" name="val_id" 69 tal:attributes="value entry/name" /> </td> <td> 70 <a href="" tal:attributes="href entry/url" 71 tal:content="entry/name">Name</a> </td> 68 72 <td tal:content="entry/container/title"> Title </td> 69 73 </tr> … … 72 76 <div tal:condition="view/availableActions"> 73 77 <span tal:repeat="action view/actions" tal:omit-tag=""> 74 <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/> 78 <input tal:condition="python:action.label in view.tabtwoactions" 79 tal:replace="structure action/render"/> 75 80 </span> 76 81 </div> … … 82 87 <th> 83 88 </th> 84 <th >Code89 <th i18n:translate="">Code 85 90 </th> 86 <th >Title91 <th i18n:translate="">Title 87 92 </th> 88 93 </tr> … … 90 95 <tbody> 91 96 <tr tal:repeat="entry view/getCertificates" class="gradeC"> <td> 92 <input type="checkbox" name="val_id" tal:attributes="value entry/name" /> </td> <td> 93 <a href="" tal:attributes="href entry/url" tal:content="entry/name">Name</a> </td> 97 <input type="checkbox" name="val_id" 98 tal:attributes="value entry/name" /> </td> <td> 99 <a href="" tal:attributes="href entry/url" 100 tal:content="entry/name">Name</a> </td> 94 101 <td tal:content="entry/container/title"> Title </td> 95 102 </tr> … … 98 105 <div tal:condition="view/availableActions"> 99 106 <span tal:repeat="action view/actions" tal:omit-tag=""> 100 <input tal:condition="python:action.label in view.tabthreeactions" tal:replace="structure action/render"/> 107 <input tal:condition="python:action.label in view.tabthreeactions" 108 tal:replace="structure action/render"/> 101 109 </span> 102 110 </div> … … 108 116 <th> 109 117 </th> 110 <th >User Id118 <th i18n:translate="">User Id 111 119 </th> 112 <th >Name120 <th i18n:translate="">Name 113 121 </th> 114 <th >Local Role122 <th i18n:translate="">Local Role 115 123 </th> 116 124 </tr> 117 125 </thead> 118 126 <tbody> 119 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td> 120 <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 127 <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> 128 <td> <input type="checkbox" name="role_id" 129 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td> 121 130 <td tal:content="entry/user_name"> USERNAME </td> 122 131 <td tal:content="entry/user_title"> USERTITLE </td> … … 127 136 <div tal:condition="view/availableActions"> 128 137 <span tal:repeat="action view/actions" tal:omit-tag=""> 129 <input tal:condition="python:action.label in view.tabfouractions1" tal:replace="structure action/render"/> 138 <input tal:condition="python:action.label in view.tabfouractions1" 139 tal:replace="structure action/render"/> 130 140 </span> 131 141 </div> <br /><br /> … … 139 149 </select> </td> <td> 140 150 <select id="local_role" name="local_role"> 141 <option tal:attributes="value localrole/name" tal:repeat="localrole view/getLocalRoles"> 151 <option tal:attributes="value localrole/name" 152 tal:repeat="localrole view/getLocalRoles"> 142 153 <span tal:replace="localrole/title">LOCALROLETITLE 143 154 </span> … … 146 157 <div tal:condition="view/availableActions"> 147 158 <span tal:repeat="action view/actions" tal:omit-tag=""> 148 <input tal:condition="python:action.label in view.tabfouractions2" tal:replace="structure action/render"/> 159 <input tal:condition="python:action.label in view.tabfouractions2" 160 tal:replace="structure action/render"/> 149 161 </span> 150 162 </div> </td> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt
r7464 r7706 1 <ul class="tabs" data-tabs="tabs"> 2 <li class="active"><a href="#tab-1"><span>Courses</span></a></li> 3 <li><a href="#tab-2"><span>Certificates</span></a></li> 1 <ul i18n:domain="waeup.sirp" class="tabs" data-tabs="tabs"> 2 <li class="active"><a href="#tab-1"> 3 <span i18n:translate="">Courses</span></a> 4 </li> 5 <li><a href="#tab-2"> 6 <span i18n:translate="">Certificates</span></a> 7 </li> 4 8 </ul> 5 <div class="tab-content">9 <div i18n:domain="waeup.sirp" class="tab-content"> 6 10 <div id="tab-1" class="active"> 7 11 <br /> … … 9 13 <thead> 10 14 <tr> 11 <th>Code</th><th>Title</th> 15 <th i18n:translate="">Code</th> 16 <th i18n:translate="">Title</th> 12 17 </tr> 13 18 </thead> … … 32 37 <thead> 33 38 <tr> 34 <th>Code</th><th>Title</th> 39 <th i18n:translate="">Code</th> 40 <th i18n:translate="">Title</th> 35 41 </tr> 36 42 </thead>
Note: See TracChangeset for help on using the changeset viewer.