Ticket #1859 (new enhancement)

Opened 12 years ago

Last modified 10 years ago

[Folder_contents] portal_types for nav_action are hardcoded

Reported by: tmartin Owned by: madarche
Priority: P2 Milestone: CPS 3.5.7
Component: CPS (global) Version: TRUNK
Severity: minor Keywords:
Cc:

Description

Dans les templates ci-dessous, l'action de navigation dans la vue folder_contents est conditionnée par l'appartenance aux types Section et Workspace. Etant donné que l'on peut créer de nouveaux types de conteneur (cps_proxy_type = folder), cette action n'est pas appliquée aux nouveaux types.

Serait-il possible de modifier la condition """ infotype? in ('Section', 'Workspace') """ pour avoir ce nouveau comportement ?


./CPSDefault/skins/cps_default/content_lib_info_detail.pt ./CPSDefault/skins/cps_default/content_lib_info_one_column.pt ./CPSDefault/skins/cps_default/content_lib_info_compact.pt ./CPSDefault/skins/cps_default/content_lib_info_summary.pt ./CPSDefault/skins/cps_default/content_lib_info_detail_tab.pt ./CPSDefault/skins/cps_default/content_lib_info_simple.pt ./CPSDefault/skins/cps_default/content_lib_info_icon.pt

Change History

comment:1 Changed 10 years ago by gracinet

  • Milestone changed from CPS 3.5.0 to CPS 3.5.2
  • Summary changed from [Folder_contents] la présence de "nav_action" devait dépendre du cps_proxy_type to [Folder_contents] portal_types for nav_action are hardcoded
Note: See TracTickets for help on using tickets.