Changeset 1756 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
8 May 2007, 15:01:11 (18 years ago)
Author:
joachim
Message:

New form import
added portal status message to main_template

Location:
WAeUP_SRP/trunk/skins
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/sessions_voc.py

    r1747 r1756  
    1111    return l
    1212
    13 if len(key) != 2:
    14     return 'unknown'
    1513try:
    1614    y = int(key)
    1715except:
    1816    return 'unknown'
     17##if len(key) != 2:
     18##    return 'unknown'
    1919if y < 90:
    2020    cent = 2000
  • WAeUP_SRP/trunk/skins/waeup_design/main_template.pt

    r1743 r1756  
    183183          <td style="" class="shapeAreaShape5 colorBarAreaColor" valign="top">
    184184            <div style="padding: 0.5em; text-align: left;" class="fontColordefaultfontcolors fontShapeaverage">
    185                     <metal:block define-slot="header" />
    186                     <metal:block define-slot="main" />
    187                     <metal:block define-slot="sub" />
     185              <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" />
     186              <metal:block define-slot="header" />
     187              <metal:block define-slot="main" />
     188              <metal:block define-slot="sub" />
    188189            </div>
    189190          </td>
  • WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt

    r1746 r1756  
    2525          <td width="220px">Certificate Code:</td>
    2626          <td><span tal:content="info/doc/study_course" /></td>
     27        </tr>
     28        <tr>
     29          <td width="220px">Current Session:</td>
     30          <td><span tal:content="python:context.portal_vocabularies.sessions.get(info['doc'].current_session)" /></td>
    2731        </tr>
    2832        <tr>
Note: See TracChangeset for help on using the changeset viewer.