Changeset 552 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
25 Sep 2006, 11:19:58 (18 years ago)
Author:
joachim
Message:

added missing waeup_content_master

Location:
WAeUP_SRP/trunk/skins
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py

    r551 r552  
    3131    elif context.portal_type == 'Faculty':
    3232        return context.faculty_index_view()
     33    elif context.portal_type == 'Department':
     34        return context.department_index_view()
    3335    return redirect("%s/academics_contents" % context.absolute_url())
    3436if isStudent:
  • WAeUP_SRP/trunk/skins/waeup_academics/department_index_view.pt

    r551 r552  
    2020      <form action="" method="post" class="group"
    2121            tal:attributes="action info/action"
    22             tal:define="rows python: info['items'];"
     22            tal:define="certs python: info['certificates'];"
    2323            >
    2424        <span tal:condition="python: 0" tal:content="structure rows" />
    2525        <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content">     
    26           <tr tal:repeat="row rows"
    27             tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
     26          <tr class="even ajaxtd">
     27            <th colspan="4"><a href="view" tal:attributes="href string:${context/absolute_url}/courses">
     28              Courses</a> </th>
     29          </tr>
     30          <tr class="even ajaxtd">
     31            <th colspan="4"><a href="view" tal:attributes="href string:${context/absolute_url}/certificates">
     32             Certificates </a> </th>
     33          </tr>
     34          <tr tal:repeat="row certs"
     35            tal:attributes="class python:test(repeat['row'].odd(), 'even ajaxtd', 'odd ajaxtd')">
    2836            <td align="left" valign="middle" style="width: 5px;"
    2937                tal:condition="is_manager">
Note: See TracChangeset for help on using the changeset viewer.