- Timestamp:
- 8 Sep 2011, 07:50:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt
r6690 r6693 29 29 </span> </h1> 30 30 <div id="navigation" class="yui-navset" style="text-align:right;"> 31 <ul id="primary-navigation" tal:condition="not: layout/isStudent"> 31 <ul id="primary-navigation" tal:condition="layout/isAuthenticated"> 32 <tal:primary_nav content="structure provider:primary_nav_student" /> 33 </ul> 34 <ul id="primary-navigation" tal:condition="not: layout/isAuthenticated"> 32 35 <tal:primary_nav content="structure provider:primary_nav" /> 33 </ul>34 <ul id="primary-navigation" tal:condition="layout/isStudent">35 <tal:primary_nav content="structure provider:primary_nav_student" />36 36 </ul> 37 37 <ul id="user-navigation"> … … 56 56 </div> 57 57 <div id="bd" role="main"> 58 <span tal:condition="python: layout.isAuthenticated() and not layout.isStudent()"59 tal:content="structure provider:breadcrumbs" />60 58 61 <div class="yui-b" tal:condition="not: layout/isStudent"> 62 <div class="block" tal:condition="layout/getStudentName"> 63 <div class="hd"> 64 <h2 tal:content="layout/getStudentName">Student name</h2> 65 </div> 66 <div class="bd"> 67 <tal:left content="structure provider:left_studentmanage" /> 68 </div> 69 </div> 70 <div class="block" tal:condition="layout/isAuthenticated"> 71 <div class="hd"> 72 <h2 tal:content="layout/getUserTitle">Username</h2> 73 </div> 74 <div class="bd"> 75 <tal:left content="structure provider:left" /> 76 </div> 77 </div> 78 </div> 79 80 <div class="yui-b" tal:condition="layout/isStudent"> 59 <div class="yui-b"> 81 60 <div class="block" tal:condition="layout/getStudentName"> 82 61 <div class="studentmenu"> … … 90 69 <div class="yui-g"> 91 70 <div class="block"> 92 <div class="hd" tal:condition="python: not layout.isStudent() and layout.isAuthenticated()">93 <span tal:content="view/title"> THE CONTENT TITLE </span>94 <span tal:condition="layout/getStudentName" class="wfstatus">95 Sudent Id: <span tal:content="python:context.getStudent().student_id">Student Id</span>96 97 Registration State: <span tal:content="python:context.getStudent().state">State</span>98 </span>99 </div>100 71 <div class="bd"> 101 72 <div class="actionbar">
Note: See TracChangeset for help on using the changeset viewer.