Ignore:
Timestamp:
22 Feb 2007, 21:28:09 (18 years ago)
Author:
Henrik Bettermann
Message:

edit links removed or changed for SOs

File:
1 edited

Legend:

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

    r1431 r1472  
    6262    if res:
    6363       info['session'] = True
    64    
     64
    6565
    6666info['id'] = student_id
     
    8787    row['type'] = so.portal_type
    8888    review_state = row['review_state'] = so.review_state
    89     row['is_editable'] = (is_student and review_state == "opened") or not is_student
     89    row['is_editable'] = (is_student and review_state == "opened") or is_sectionofficer
    9090    sv_link = s_view_links.get(so.portal_type,None) or "waeup_document_view"
    9191    row['s_view_link'] = "%s/%s" % (url,sv_link)
Note: See TracChangeset for help on using the changeset viewer.