Ignore:
Timestamp:
19 Mar 2007, 10:58:13 (18 years ago)
Author:
Henrik Bettermann
Message:

change search form for course advisers

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

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/search_students.py

    r1571 r1582  
    208208    query = Eq('review_state',state)
    209209    review_res = evalAdvancedQuery(query)
    210    
     210
    211211    logger.info('%s searches for students in review_state %s' % (member,state))
    212    
     212
    213213    if with_timer:
    214214        end = DateTime().timeTime()
     
    298298                             allowed = allowed,
    299299                             co_view = co_view,
     300                             ca_view = ca_view
    300301                             )
    301302return context.search_students_form(rendered = rend,
  • WAeUP_SRP/trunk/skins/waeup_student/search_students_form.pt

    r1572 r1582  
    11<metal:body use-macro="here/main_template/macros/master">
    2     <metal:block fill-slot="header"
    3                  tal:define="creation creation|nothing;
    4                  edition edition|nothing;
    5                  metadata metadata|nothing"
    6                  >
    7     </metal:block>
    8    
    92    <metal:main fill-slot="main"
    103            tal:define="rendered options/rendered;
     
    125            students options/students;
    136            info options/info|nothing;
    14             is_so context/isSectionOfficer;           
     7            is_so context/isSectionOfficer;
    158            allowed options/allowed|nothing"
    169            >
     
    9689                         onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"
    9790                         >[view and change state]</a></td>
    98                     <td tal:condition="options/co_view|nothing"><span tal:replace="student/review_state|nothing" /></td>   
     91                    <td tal:condition="options/ca_view|nothing">
     92                      <a href="id"
     93                         tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/study_course/study_course/${student/level}/external_study_level_view"
     94                         target="edit"
     95                         onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"
     96                         >[view and validate course list]</a></td>
    9997                  </tr>
    10098                </span>
  • WAeUP_SRP/trunk/skins/waeup_student/set_access_data.py

    r1571 r1582  
    1212
    1313if matric_no is None:
    14     logger.info('"No matric_no in request"')
     14    logger.info('No matric_no in request')
    1515    return REQUEST.RESPONSE.redirect("%s" % context.portal_url())
    1616lt = context.portal_layouts
Note: See TracChangeset for help on using the changeset viewer.