Ignore:
Timestamp:
21 Oct 2005, 16:26:43 (19 years ago)
Author:
joachim
Message:

=more enhancements

Location:
waeup_product/trunk/skins/waeup_student
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/student_personal_view_student.pt

    r67 r76  
    11<metal:block define-macro="view">
    2 <metal:block use-macro="here/content_lib_master/macros/master">
    3   <metal:block fill-slot="header">
    4   </metal:block>
     2  <metal:block use-macro="here/content_lib_master/macros/master">
     3    <metal:block fill-slot="header">
     4    </metal:block>
    55
    6   <metal:block fill-slot="css_slot">
    7     <link rel="Stylesheet" type="text/css" href=""
    8       tal:attributes="href string:${base_url}document.css" />
    9     <link rel="Stylesheet" type="text/css" href=""
    10       tal:attributes="href string:${base_url}forum.css" />
    11   </metal:block>
    12 
    13   <metal:block fill-slot="main">
    14     <tal:block tal:content="structure rendered_main|python:doc.render(proxy=here)" />
    15 
    16     <tal:block tal:condition="python:hasattr(here,'portal_discussion') and
    17       hasattr(here.portal_discussion, 'isCommentingAllowedFor')">
    18       <tal:block tal:define="comments_allowed
    19         python:here.portal_discussion.isCommentingAllowedFor(here);"
    20         tal:condition="comments_allowed">
    21         <metal:block
    22           use-macro="here/forum_comment_lib_view_comments_inline/macros/view_comments_inline" />
    23       </tal:block>
    24     </tal:block>
    25 
    26   </metal:block>
    27   <metal:block fill-slot="sub">
    28   </metal:block>
     6    <metal:block fill-slot="css_slot">
     7      <link rel="Stylesheet" type="text/css" href=""
     8            tal:attributes="href string:${base_url}document.css" />
     9      <link rel="Stylesheet" type="text/css" href=""
     10            tal:attributes="href string:${base_url}forum.css" />
     11    </metal:block>
     12   
     13    <metal:block fill-slot="main">
     14      <tal:block tal:content="structure rendered_main|python:doc.render(proxy=here)" />
     15      <p>
     16        <a href="" tal:attributes="href string:${context/absolute_url}/student_personal_edit_form">edit</a>
     17      </p>
     18    </metal:block>
     19    <metal:block fill-slot="sub">
     20    </metal:block>
    2921
    3022</metal:block>
  • waeup_product/trunk/skins/waeup_student/student_view_student.pt

    r48 r76  
    1616               items here/contentValues"
    1717               >
     18    <tal:block condition="python:0 and len(items)">
    1819    <table cellspacing="0" cellpadding="0">
    19       <tal:block condition="python: len(items)">
    2020        <tr tal:repeat="item items">
    2121          <td colspan="1">
     
    2525          </td>
    2626        </tr>
    27       </tal:block>
    28       <tr tal:condition="python:not len(items)">
    29         <td>
    30           no Items yet !
    31         </td>
    32       </tr>
    3327    </table>
     28    </tal:block>
     29    <ul>
     30      <li>  <a href="" tal:attributes="href string:${context/absolute_url}/JAMB">Clearence Form Processing</a></li>
     31      <li>  <a href="" tal:attributes="href string:${context/absolute_url}/PERSONAL">Personal Data Form</a></li>
     32    </ul>
    3433  </metal:block>
    3534  <metal:block fill-slot="sub">
Note: See TracChangeset for help on using the changeset viewer.