Ignore:
Timestamp:
16 Jul 2007, 13:27:56 (17 years ago)
Author:
Henrik Bettermann
Message:

more basic CMS staff:

Three WAeUPDocument ids are reserved: frontpage_doc, srp_home_doc, student_notice_doc

The content of student_notice_doc appears as a black board on the frontpage.

File:
1 edited

Legend:

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

    r1826 r2019  
    22  <metal:body use-macro="here/main_template/macros/master">
    33    <metal:main fill-slot="main">
     4   
     5      <span tal:condition="python: getattr(context.campus.documents,'srp_home_doc',None)">
     6          <div tal:define="doc python: context.campus.documents.srp_home_doc.getContent()"
     7               tal:content="structure doc/content" />
     8      </span>     
     9   
     10      <span tal:condition="python: not getattr(context.campus.documents,'srp_home_doc',None)">
     11     
    412        <h2>Welcome to the     
    513          <br />Student Registration Portal of the University of Benin, Nigeria</h2>
     
    715          You are logged in and viewing the portal's root folder. Please go to one of the sections above.     
    816         
     17       </span>
     18       
    919    </metal:main>
    1020  </metal:body>
Note: See TracChangeset for help on using the changeset viewer.