- Timestamp:
- 6 Sep 2011, 21:55:38 (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt
r6687 r6690 13 13 tal:attributes="title string:RSS feed of ${layout/getAppTitle}; 14 14 href python: view.url(layout.site, 'feed.rss')" /> 15 15 16 </head> 16 17 <body class="rounded yui-skin-sam"> 17 <div id="doc3" tal:attributes= "class layout/tableClass">18 <div id="doc3" class="yui-t1"> 18 19 <div id="hd" role="banner"> 19 20 <div id="hd"> … … 25 26 </span> </h1> 26 27 <div id="navigation" class="yui-navset" style="text-align:right;"> 27 <ul id="primary-navigation" tal:condition="not: layout/isStudent">28 <ul id="primary-navigation"> 28 29 <tal:primary_nav content="structure provider:primary_nav" /> 29 30 </ul> 30 <ul id="primary-navigation" tal:condition="layout/isStudent"> 31 <tal:primary_nav content="structure provider:primary_nav_student" /> 32 </ul> 33 <ul id="user-navigation" tal:condition="layout/isAuthenticated"> 34 <li> 31 <ul id="user-navigation"> 32 <li tal:condition="not: layout/isAuthenticated"> 33 <a href="#" tal:attributes="href python: view.url(layout.site, 'login')"> 34 Login 35 </a> 36 </li> 37 <li tal:condition="layout/isAuthenticated"> 35 38 <a href="#" tal:attributes="href python: view.url(layout.site, '@@contactadmin')"> 36 39 Contact 37 40 </a> 38 41 </li> 39 <li >42 <li tal:condition="layout/isAuthenticated"> 40 43 <a href="#" tal:attributes="href python: view.url(context, '@@logout')">Logout</a> 41 44 </li> … … 47 50 </div> 48 51 <div id="bd" role="main"> 49 <span tal:condition="python: layout.isAuthenticated() and not layout.isStudent()"52 <span tal:condition="python: layout.isAuthenticated()" 50 53 tal:content="structure provider:breadcrumbs" /> 51 54 52 <div class="yui-b" tal:condition="not: layout/isStudent">55 <div class="yui-b"> 53 56 <div class="block" tal:condition="layout/getStudentName"> 54 57 <div class="hd"> … … 59 62 </div> 60 63 </div> 61 <div class="block" >64 <div class="block" tal:condition="layout/isAuthenticated"> 62 65 <div class="hd"> 63 66 <h2 tal:content="layout/getUserTitle">Username</h2> … … 69 72 </div> 70 73 71 <div class="yui-b" tal:condition="layout/isStudent">72 <div class="block" tal:condition="layout/getStudentName">73 <div>74 <tal:left content="structure provider:top_student" />75 </div>76 </div>77 </div>78 79 74 <div id="yui-main"> 80 75 <div class="yui-b"> 81 76 <div class="yui-g"> 82 77 <div class="block"> 83 <div class="hd" tal:condition=" not: layout/isStudent">78 <div class="hd" tal:condition="python: layout.isAuthenticated()"> 84 79 <span tal:content="view/title"> THE CONTENT TITLE </span> 85 80 <span tal:condition="layout/getStudentName" class="wfstatus">
Note: See TracChangeset for help on using the changeset viewer.