Ignore:
Timestamp:
21 Nov 2006, 10:49:45 (18 years ago)
Author:
Henrik Bettermann
Message:

is_* keys removed from get* functions

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

Legend:

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

    r911 r913  
    11<metal:html tal:define="info context/getFacultiesInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isSectionOfficer;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_academics/certificate_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getCertificateInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isSectionOfficer;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_academics/certificates_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getCertificatesInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isSectionOfficer;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_academics/courses_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getCoursesInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isSectionOfficer;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_academics/department_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getCoursesCertificatesInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isSectionOfficer;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_academics/faculty_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getDepartmentsInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isSectionOfficer;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_academics/getCertificateInfo.py

    r911 r913  
    1818
    1919info = {}
    20 info['is_sm'] = context.isSectionManager()
    21 info['is_so'] = context.isSectionOfficer()
    22 info['is_student'] = context.isStudent()
    2320info['action'] = "%s" % context.campus.absolute_url()
    2421info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/getCertificatesInfo.py

    r911 r913  
    2121#dep_id = request.get('PATH_TRANSLATED').split('/')[-2]
    2222dep_id = context.aq_parent.getId()
    23 info['is_sm'] = context.isSectionManager()
    24 info['is_so'] = context.isSectionOfficer()
    25 info['is_student'] = context.isStudent()
    2623info['action'] = "%s" % context.absolute_url()
    2724info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/getCoursesCertificatesInfo.py

    r911 r913  
    1818
    1919info = {}
    20 info['is_sm'] = context.isSectionManager()
    21 info['is_so'] = context.isSectionOfficer()
    22 info['is_student'] = context.isStudent()
    2320info['action'] = "%s/faculty_view" % context.absolute_url()
    2421info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/getCoursesInfo.py

    r911 r913  
    2121#dep_id = request.get('PATH_TRANSLATED').split('/')[-2]
    2222dep_id = context.aq_parent.getId()
    23 info['is_sm'] = context.isSectionManager()
    24 info['is_so'] = context.isSectionOfficer()
    25 info['is_student'] = context.isStudent()
    2623info['action'] = "%s" % context.absolute_url()
    2724info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/getDepartmentsInfo.py

    r911 r913  
    2222member_id = str(member)
    2323roles = member.getRolesInContext(context)
    24 info['is_sm'] = context.isSectionManager()
    25 info['is_so'] = context.isSectionOfficer()
    26 info['is_student'] = context.isStudent()
    2724info['action'] = "%s" % context.absolute_url()
    2825info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/getDocumentInfo.py

    r911 r913  
    1818
    1919info = {}
    20 info['is_sm'] = context.isSectionManager()
    21 info['is_so'] = context.isSectionOfficer()
    22 info['is_student'] = context.isStudent()
    2320info['doc'] = context.getContent()
    2421return info
  • WAeUP_SRP/trunk/skins/waeup_academics/getFacultiesInfo.py

    r911 r913  
    1919
    2020info = {}
    21 info['is_sm'] = context.isSectionManager()
    22 info['is_so'] = context.isSectionOfficer()
    23 info['is_student'] = context.isStudent()
    2421info['action'] = "%s" % context.campus.absolute_url()
    2522info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/getLevelInfo.py

    r911 r913  
    2828cert_id = pt[-(2+p)]
    2929level_id = pt[-(1+p)]
    30 info['is_sm'] = context.isSectionManager()
    31 info['is_so'] = context.isSectionOfficer()
    32 info['is_student'] = context.isStudent()
    3330info['action'] = "%s" % context.absolute_url()
    3431info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_academics/level_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getLevelInfo;
    2             is_so info/is_so|nothing;"
     2            is_so context/isStudent;"
    33            >
    44  <metal:body use-macro="here/waeup_content_master/macros/master">
Note: See TracChangeset for help on using the changeset viewer.