Changeset 314


Ignore:
Timestamp:
15 Jul 2006, 15:42:44 (18 years ago)
Author:
joachim
Message:

=certificate_view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/certificate_view_form.pt

    r290 r314  
    1212  <metal:block fill-slot="main"
    1313               tal:define="roles member/getRoles;
    14                backend python:'UniversityManager' in roles or 'StudentManager' in roles;
    15                frontend python:'Student' in roles or isAnon;
    1614               folder here/getContent;
    1715               items here/contentValues"
    1816               >
    19     <h1> <span tal:content="context/title_or_id" /></h1>     
    20  
    21     <p>This is view of the object with id <em tal:content="here/id" />
    22        of type <em tal:content="here/portal_type" />
    23        which can be customized according to the customer's needs.</p>       
    24  
    25     <br />
    26       <p>The object's data fields: </p>
    27       <tal:block 
    28           tal:content="structure python:doc.render()" />
     17<tal:block tal:content="structure python:doc.render()" />
    2918    <br />     
    30     <p>Exemplary view of the <strong>list of items attached to (or contained in) the object</strong>: </p>
     19    <p>The Levels</p>
    3120    <tal:block condition="python: len(items)"> 
    3221      <table>
     
    3423          <tr>
    3524            <td>
    36               <span tal:content="item/portal_type" />:
     25              Level :
    3726            </td>
    3827            <td>
     
    4029                <a href="xxx" 
    4130                   tal:attributes="href item/absolute_url"
    42                    tal:content="item/id"></a> <span tal:content="item/title_or_id" tal:omit-tag="" />
     31                   tal:content="item/id"></a> <span tal:condition="nothing" tal:content="item/title_or_id" tal:omit-tag="" />
    4332              </i>
    4433            </td>
Note: See TracChangeset for help on using the changeset viewer.