Changeset 3294


Ignore:
Timestamp:
9 Mar 2008, 13:27:07 (17 years ago)
Author:
Henrik Bettermann
Message:

show correct links for upload objects

Location:
WAeUP_SRP
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/cps_custom/folder_delete.py

    r3291 r3294  
    3636        evtool = getPublicEventService(here)
    3737        evtool.notifyEvent('workflow_delete', ob, {})
    38         logger.info('%s deleted object %s' % (member_id,id))
     38        logger.info('%s removed object %s' % (member_id,id))
    3939    here.manage_delObjects(ids)
    4040    message = 'portal_status_message=psm_item(s)_deleted'
  • WAeUP_SRP/base/skins/waeup_default/waeup_document_view.pt

    r2096 r3294  
    1515      </a>
    1616     
    17       <h3 tal:condition="here/Title">
     17      <h3 tal:condition="here/title_or_id">
    1818         <span tal:condition="python:is_so and s_name">
    1919           <span tal:content="s_name" />:
    2020         </span>
    21          <span tal:content="here/Title" />
     21         <span tal:content="here/title_or_id" />
    2222      </h3>
    2323     
  • WAeUP_SRP/uniben/profiles/default/types/Upload.xml

    r3281 r3294  
    99 <property name="product">WAeUP_SRP</property>
    1010 <property name="factory">addUpload</property>
    11  <property name="immediate_view">campus_index</property>
     11 <property name="immediate_view">waeup_document_view</property>
    1212 <property name="global_allow">True</property>
    1313 <property name="filter_content_types">True</property>
     
    2727 <property name="storage_methods"/>
    2828 <property name="cps_is_portlet">False</property>
    29  <alias from="(Default)" to="student_index"/>
    30  <alias from="view" to="upload_view"/>
     29 <alias from="(Default)" to="waeup_document_view"/>
     30 <alias from="view" to="waeup_document_view"/>
    3131 <action title="View" action_id="view" category="object" condition_expr=""
    32     url_expr="string:${object_url}/upload_view" visible="True">
     32    url_expr="string:${object_url}/waeup_document_view" visible="True">
    3333  <permission value="View"/>
    3434 </action>
    3535 <action title="action_edit" action_id="edit" category="object"
    3636    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    37     visible="False">
     37    visible="True">
    3838  <permission value="Modify portal content"/>
    3939 </action>
Note: See TracChangeset for help on using the changeset viewer.