Changeset 6687 for main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Timestamp:
- 6 Sep 2011, 08:22:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/sitelayout.pt
r6653 r6687 15 15 </head> 16 16 <body class="rounded yui-skin-sam"> 17 <div id="doc3" class="yui-t1">17 <div id="doc3" tal:attributes= "class layout/tableClass"> 18 18 <div id="hd" role="banner"> 19 19 <div id="hd"> … … 25 25 </span> </h1> 26 26 <div id="navigation" class="yui-navset" style="text-align:right;"> 27 <ul id="primary-navigation" >27 <ul id="primary-navigation" tal:condition="not: layout/isStudent"> 28 28 <tal:primary_nav content="structure provider:primary_nav" /> 29 </ul> 30 <ul id="primary-navigation" tal:condition="layout/isStudent"> 31 <tal:primary_nav content="structure provider:primary_nav_student" /> 29 32 </ul> 30 33 <ul id="user-navigation" tal:condition="layout/isAuthenticated"> … … 44 47 </div> 45 48 <div id="bd" role="main"> 46 <span tal:condition=" layout/isAuthenticated"49 <span tal:condition="python: layout.isAuthenticated() and not layout.isStudent()" 47 50 tal:content="structure provider:breadcrumbs" /> 51 52 <div class="yui-b" tal:condition="not: layout/isStudent"> 53 <div class="block" tal:condition="layout/getStudentName"> 54 <div class="hd"> 55 <h2 tal:content="layout/getStudentName">Student name</h2> 56 </div> 57 <div class="bd"> 58 <tal:left content="structure provider:left_studentmanage" /> 59 </div> 60 </div> 61 <div class="block"> 62 <div class="hd"> 63 <h2 tal:content="layout/getUserTitle">Username</h2> 64 </div> 65 <div class="bd"> 66 <tal:left content="structure provider:left" /> 67 </div> 68 </div> 69 </div> 70 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 48 79 <div id="yui-main"> 49 80 <div class="yui-b"> 50 81 <div class="yui-g"> 51 82 <div class="block"> 52 <div class="hd" >83 <div class="hd" tal:condition="not: layout/isStudent"> 53 84 <span tal:content="view/title"> THE CONTENT TITLE </span> 54 85 <span tal:condition="layout/getStudentName" class="wfstatus"> … … 77 108 </div> 78 109 </div> 79 <div class="yui-b"> 80 <div class="block" tal:condition="layout/getStudentName"> 81 <div class="hd"> 82 <h2 tal:content="layout/getStudentName">Student name</h2> 83 </div> 84 <div class="bd"> 85 <tal:left content="structure provider:left_student" /> 86 </div> 87 </div> 88 <div class="block"> 89 <div class="hd"> 90 <h2 tal:content="layout/getUserTitle">Username</h2> 91 </div> 92 <div class="bd"> 93 <tal:left content="structure provider:left" /> 94 </div> 95 </div> 96 </div> 110 97 111 </div> 98 112 <div id="ft" role="contentinfo">
Note: See TracChangeset for help on using the changeset viewer.