Ignore:
Timestamp:
8 Sep 2011, 07:50:06 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove elements which are needed for officers only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r6690 r6693  
    2929            </span> </h1>
    3030          <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">
    3235              <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" />
    3636            </ul>
    3737            <ul id="user-navigation">
     
    5656      </div>
    5757      <div id="bd" role="main">
    58         <span tal:condition="python: layout.isAuthenticated() and not layout.isStudent()"
    59               tal:content="structure provider:breadcrumbs" />
    6058
    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">
    8160          <div class="block" tal:condition="layout/getStudentName">
    8261            <div class="studentmenu">
     
    9069            <div class="yui-g">
    9170              <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                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    97                   Registration State: <span tal:content="python:context.getStudent().state">State</span>
    98                   </span>
    99                 </div>
    10071                <div class="bd">
    10172                  <div class="actionbar">
Note: See TracChangeset for help on using the changeset viewer.