Changeset 16529 for main/waeup.kofa/trunk/src/waeup/kofa/browser/templates
- Timestamp:
- 7 Jul 2021, 06:51:05 (4 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser/templates
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/departmentpage.pt
r11254 r16529 5 5 <li><a href="#tab2" data-toggle="tab"> 6 6 <span i18n:translate="">Certificates</span></a> 7 </li> 8 <li><a href="#tab3" data-toggle="tab"> 9 <span i18n:translate="">Local Roles</span></a> 7 10 </li> 8 11 </ul> … … 54 57 </table> 55 58 </div> 59 <div id="tab3" class="tab-pane"> 60 <br /> 61 <table class="table table-hover"> 62 <thead> 63 <tr> 64 <th i18n:translate="">Officer Name 65 </th> 66 <th i18n:translate="">Local Role 67 </th> 68 <th></th> 69 </tr> 70 </thead> 71 <tbody> 72 <tr tal:repeat="entry view/getUsersWithLocalRoles"> 73 <td tal:content="entry/public_name"> PUBLICNAME </td> 74 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 75 <td> 76 <a href="" 77 i18n:translate="" 78 tal:attributes="href python: view.url(entry['user'], 'contactuser')" 79 class="btn btn-success btn-xs">Contact</a> 80 </td> 81 </tr> 82 </tbody> 83 </table> 84 </div> 56 85 </div> -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/facultypage.pt
r11254 r16529 1 <div i18n:domain="waeup.kofa" i18n:translate="" tal:condition="python: not len(context.keys())"> 2 There are no subobjects registered yet. 1 <ul i18n:domain="waeup.kofa" class="tabs nav nav-tabs" data-tabs="tabs"> 2 <li class="active"><a href="#tab1" data-toggle="tab"> 3 <span i18n:translate="">Departments</span></a> 4 </li> 5 <li><a href="#tab3" data-toggle="tab"> 6 <span i18n:translate="">Local Roles</span></a> 7 </li> 8 </ul> 9 <div i18n:domain="waeup.kofa" class="tab-content"> 10 <div id="tab1" class="active tab-pane"> 11 <br /> 12 <table class="table table-hover" i18n:domain="waeup.kofa"> 13 <thead> 14 <tr> 15 <th i18n:translate="">Code</th> 16 <th i18n:translate="">Title</th> 17 </tr> 18 </thead> 19 <tbody> 20 <tr tal:repeat="value context/values"> 21 <td> <a tal:attributes="href python: view.url(value)"> 22 <span tal:content="value/code">Name</span></a></td> 23 <td tal:content="value/longtitle">Title</td> 24 </tr> 25 </tbody> 26 </table> 27 </div> 28 <div id="tab3" class="tab-pane"> 29 <br /> 30 <table class="table table-hover"> 31 <thead> 32 <tr> 33 <th i18n:translate="">Officer Name 34 </th> 35 <th i18n:translate="">Local Role 36 </th> 37 <th></th> 38 </tr> 39 </thead> 40 <tbody> 41 <tr tal:repeat="entry view/getUsersWithLocalRoles"> 42 <td tal:content="entry/public_name"> PUBLICNAME </td> 43 <td tal:content="entry/local_role_title"> LOCAL ROLE </td> 44 <td> 45 <a href="" 46 i18n:translate="" 47 tal:attributes="href python: view.url(entry['user'], 'contactuser')" 48 class="btn btn-success btn-xs">Contact</a> 49 </td> 50 </tr> 51 </tbody> 52 </table> 53 </div> 3 54 </div> 4 55 5 <table class="table table-hover" i18n:domain="waeup.kofa"> 6 <thead> 7 <tr> 8 <th i18n:translate="">Code</th> 9 <th i18n:translate="">Title</th> 10 </tr> 11 </thead> 12 <tbody> 13 <tr tal:repeat="value context/values"> 14 <td> <a tal:attributes="href python: view.url(value)"> 15 <span tal:content="value/code">Name</span></a></td> 16 <td tal:content="value/longtitle">Title</td> 17 </tr> 18 </tbody> 19 </table> 56 57 58 59 60 61 62
Note: See TracChangeset for help on using the changeset viewer.