Changeset 2009 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
11 Jul 2007, 04:59:50 (17 years ago)
Author:
Henrik Bettermann
Message:

ticket #307

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt

    r1783 r2009  
    11<metal:body use-macro="here/main_template/macros/master">
    2     <metal:block fill-slot="header"
    3                  tal:define="s_name context/getStudentNameInContext;
    4                              is_so context/isSectionOfficer;">
     2    <metal:main fill-slot="main"
     3                tal:define="info context/getDocumentInfo;
     4                s_name context/getStudentNameInContext;
     5                is_so context/isSectionOfficer;">
     6
     7      <span tal:condition="not: info">
     8        <span tal:content="here/illegal_view" />
     9      </span>
     10      <span tal:condition="info">
     11   
    512      <a href=""
    613         tal:attributes="href string:${here/academicsParent}">
     
    815        Up one level
    916      </a>
     17     
    1018      <h3>
    1119         <span tal:condition="python:is_so and s_name">
     
    1422         <span tal:content="here/title_or_id" />
    1523      </h3>
     24     
    1625      <br />
    17     </metal:block>
    18     <metal:main fill-slot="main"
    19                 tal:define="info context/getDocumentInfo">
     26
    2027      <span tal:omit-tag="" 
    2128            tal:content="structure python: info['doc'].render(layout_mode='view')" />
    22    
     29
     30      </span>
    2331    </metal:main>
    2432    <metal:sub fill-slot="sub"/>
Note: See TracChangeset for help on using the changeset viewer.