Changeset 571


Ignore:
Timestamp:
27 Sep 2006, 15:36:44 (18 years ago)
Author:
joachim
Message:

fixed levelInfo

Location:
WAeUP_SRP/trunk/skins/waeup_academics
Files:
2 edited

Legend:

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

    r570 r571  
    1313      </h3>
    1414      <div tal:condition="python:0" tal:content="info/container_path"/>
    15       <div tal:condition="python:1" tal:content="info/dep_id"/>
     15      <div tal:condition="python:0" tal:content="info/dep_id"/>
    1616    </metal:block>
    1717    <metal:main fill-slot="main" tal:condition="python: 1">
  • WAeUP_SRP/trunk/skins/waeup_academics/getLevelInfo.py

    r566 r571  
    2222member_id = str(member)
    2323pt = request.get('PATH_TRANSLATED').split('/')
    24 dep_id = pt[5]
    25 cert_id = pt[7]
    26 level_id = pt[8]
     24dep_id = pt[-3]
     25cert_id = pt[-2]
     26level_id = pt[-1]
    2727roles = member.getRoles()
    2828info['is_manager'] = 'Manager' in roles or 'SectionManager' in roles
Note: See TracChangeset for help on using the changeset viewer.