Changeset 313


Ignore:
Timestamp:
15 Jul 2006, 15:29:56 (18 years ago)
Author:
joachim
Message:

=get_department_voc, get_faculty_voc

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

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

    r311 r313  
    3333 <property name="storage_methods"/>
    3434 <property name="cps_is_portlet">False</property>
    35  <alias from="(Default)" to="academics_contents"/>
    36  <alias from="view" to="academics_contents"/>
     35 <alias from="(Default)" to="certificate_view"/>
     36 <alias from="view" to="certificate_view"/>
    3737 <action title="View" action_id="view" category="object" condition_expr=""
    38     url_expr="string:${object_url}/academics_contents" visible="True">
     38    url_expr="string:${object_url}/certificate_view" visible="True">
    3939  <permission value="View"/>
    4040 </action>
  • WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml

    r311 r313  
    11<?xml version="1.0"?>
    2 <object name="Certificate" meta_type="CPS Flexible Type Information"
     2<object name="CertificatesFolder" meta_type="CPS Flexible Type Information"
    33   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
    44 <property name="title">WAeUP Certificate</property>
     
    3333 <property name="storage_methods"/>
    3434 <property name="cps_is_portlet">False</property>
    35  <alias from="(Default)" to="certificate_view"/>
    36  <alias from="view" to="certificate_view"/>
     35 <alias from="(Default)" to="academics_contents"/>
     36 <alias from="view" to="academics_contents"/>
    3737 <action title="View" action_id="view" category="object" condition_expr=""
    38     url_expr="string:${object_url}/certificate_view" visible="True">
     38    url_expr="string:${object_url}/academics_contents" visible="True">
    3939  <permission value="View"/>
    4040 </action>
     41 <action title="delegate" action_id="localroles" category="object"
     42    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
     43    visible="True">
     44  <permission value="Modify portal content"/>
     45 </action>
     46 <action title="Add Certificate" action_id="new_entry" category="object"
     47    condition_expr=""
     48    url_expr="string:${object/absolute_url}/content_create?type_name=Certificate"
     49    visible="True"/>
    4150 <action title="action_edit" action_id="edit" category="object"
    4251    condition_expr="python:member and 'Manager' in member.getRoles()"
     
    4958  <permission value="Modify portal content"/>
    5059 </action>
    51  <action title="delegate" action_id="localroles" category="object"
    52     condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    53     visible="True">
    54   <permission value="Modify portal content"/>
    55  </action>
    5660</object>
  • WAeUP_SRP/trunk/skins/waeup_academics/get_departments_voc.py

    r312 r313  
    1111if res:
    1212    return res[-1].Title
    13 return "unknown Department"
     13return "unknown Department %s" % key
    1414
    15 return dep.Titlel
  • WAeUP_SRP/trunk/skins/waeup_academics/get_faculties_voc.py

    r312 r313  
    1111if res:
    1212    return [-1].Title
    13 return "unknown Faculty"
     13return "unknown Faculty %s" % key
Note: See TracChangeset for help on using the changeset viewer.