Changeset 739


Ignore:
Timestamp:
21 Oct 2006, 13:37:37 (18 years ago)
Author:
Henrik Bettermann
Message:

academics_document_view.pt renamed and moved

Location:
WAeUP_SRP/trunk
Files:
1 added
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/types/StudentAccommodation.xml

    r684 r739  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentAccommodation</property>
    10  <property name="immediate_view">academics_document_view</property>
     10 <property name="immediate_view">waeup_document_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2626 <property name="storage_methods"/>
    2727 <property name="cps_is_portlet">False</property>
    28  <alias from="(Default)" to="academics_document_view"/>
    29  <alias from="view" to="academics_document_view"/>
     28 <alias from="(Default)" to="waeup_document_view"/>
     29 <alias from="view" to="waeup_document_view"/>
    3030 <action title="View" action_id="view" category="object"
    31     condition_expr="" url_expr="string:${object_url}/academics_document_view"
     31    condition_expr="" url_expr="string:${object_url}/waeup_document_view"
    3232    visible="True">
    3333  <permission value="View"/>
     
    3737    visible="True">
    3838  <permission value="Modify portal content"/>
    39  </action> 
     39 </action>
    4040</object>
  • WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml

    r684 r739  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentApplication</property>
    10  <property name="immediate_view">academics_document_view</property>
     10 <property name="immediate_view">waeup_document_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2626 <property name="storage_methods"/>
    2727 <property name="cps_is_portlet">False</property>
    28  <alias from="(Default)" to="academics_document_view"/>
    29  <alias from="view" to="academics_document_view"/>
     28 <alias from="(Default)" to="waeup_document_view"/>
     29 <alias from="view" to="waeup_document_view"/>
    3030 <action title="View" action_id="view" category="object"
    31     condition_expr="" url_expr="string:${object_url}/academics_document_view"
     31    condition_expr="" url_expr="string:${object_url}/waeup_document_view"
    3232    visible="True">
    3333  <permission value="View"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml

    r684 r739  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentClearance</property>
    10  <property name="immediate_view">academics_document_view</property>
     10 <property name="immediate_view">waeup_document_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2828 <property name="storage_methods"/>
    2929 <property name="cps_is_portlet">False</property>
    30  <alias from="(Default)" to="academics_document_view"/>
     30 <alias from="(Default)" to="waeup_document_view"/>
    3131 <alias from="view" to="academics_contents"/>
    3232 <action title="View" action_id="view" category="object"
    3333    condition_expr=""
    34     url_expr="string:${object_url}/academics_document_view"
     34    url_expr="string:${object_url}/waeup_document_view"
    3535    visible="True">
    3636  <permission value="View"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml

    r731 r739  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentCourseResult</property>
    10  <property name="immediate_view">academics_document_view</property>
     10 <property name="immediate_view">waeup_document_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2626 <property name="storage_methods"/>
    2727 <property name="cps_is_portlet">False</property>
    28  <alias from="(Default)" to="academics_document_view"/>
     28 <alias from="(Default)" to="waeup_document_view"/>
    2929 <alias from="create_do" to="waeup_document_create_do"/>
    3030 <alias from="created" to="student_course_result_created"/>
    31  <alias from="view" to="academics_document_view"/>
     31 <alias from="view" to="waeup_document_view"/>
    3232 <action title="View" action_id="view" category="object"
    33     condition_expr="" url_expr="string:${object_url}/academics_document_view"
     33    condition_expr="" url_expr="string:${object_url}/waeup_document_view"
    3434    visible="True">
    3535  <permission value="View"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml

    r684 r739  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentPersonal</property>
    10  <property name="immediate_view">academics_document_view</property>
     10 <property name="immediate_view">waeup_document_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2828 <property name="storage_methods"/>
    2929 <property name="cps_is_portlet">False</property>
    30  <alias from="(Default)" to="academics_document_view"/>
    31  <alias from="view" to="academics_document_view"/>
     30 <alias from="(Default)" to="waeup_document_view"/>
     31 <alias from="view" to="waeup_document_view"/>
    3232 <action title="View" action_id="view" category="object"
    3333    condition_expr=""
    34     url_expr="string:${object_url}/academics_document_view"
     34    url_expr="string:${object_url}/waeup_document_view"
    3535    visible="True">
    3636  <permission value="View"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentSemester.xml

    r617 r739  
    2828 <property name="storage_methods"/>
    2929 <property name="cps_is_portlet">False</property>
    30  <alias from="(Default)" to="academics_document_view"/>
    31  <alias from="view" to="academics_document_view"/>
     30 <alias from="(Default)" to="waeup_document_view"/>
     31 <alias from="view" to="waeup_document_view"/>
    3232 <action title="View" action_id="view" category="object" condition_expr=""
    33     url_expr="string:${object_url}/academics_document_view" visible="True">
     33    url_expr="string:${object_url}/waeup_document_view" visible="True">
    3434  <permission value="View"/>
    3535 </action>
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py

    r683 r739  
    2929        return context.courses_view()
    3030    elif context.portal_type == 'CertificatesFolder':
    31         return context.certificates_view()       
     31        return context.certificates_view()
    3232    elif context.portal_type == 'Certificate':
    3333        return context.certificate_view()
     
    3535        return context.level_view()
    3636    elif context.portal_type in ('CertificateCourse','Course'):
    37         return context.academics_document_view()
     37        return context.waeup_document_view()
    3838    return redirect("%s/srp_manager_view" % context.portal_url())
    3939
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py

    r735 r739  
    2525member_id = str(member)
    2626if student is None:
    27     if context.isManager():
     27    if context.isManager() and 'students' in context.getPhysicalPath():
    2828        if context.portal_type == 'Student':
    2929            student_id = context.getId()
     
    3131            student_id = context.aq_parent.getId()
    3232        elif context.aq_parent.aq_parent.portal_type == 'Student':
    33             student_id = context.aq_parent.aq_parent.getId()   
     33            student_id = context.aq_parent.aq_parent.getId()
    3434        elif context.aq_parent.aq_parent.aq_parent.portal_type == 'Student':
    35             student_id = context.aq_parent.aq_parent.aq_parent.getId()   
     35            student_id = context.aq_parent.aq_parent.aq_parent.getId()
    3636        else:
    37             student_id = member_id           
     37            student_id = member_id
    3838    else:
    3939        student_id = member_id
     
    8787    row['type'] = so.portal_type
    8888    row['is_editable'] = mtool.checkPermission('Modify portal content', soo)
    89     sv_link = s_view_links.get(so.portal_type,None) or "academics_document_view"
     89    sv_link = s_view_links.get(so.portal_type,None) or "waeup_document_view"
    9090    row['s_view_link'] = "%s/%s" % (soo.absolute_url(),sv_link)
    9191    se_link = s_edit_links.get(so.portal_type,None)
Note: See TracChangeset for help on using the changeset viewer.