Ticket #478 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

Get the levels to display on edit template for hierarchical stacks

Reported by: atchertchian Owned by: janguenot
Priority: P3 Milestone: CPS 3.5.0
Component: CPSWorkflow Version: TRUNK
Severity: normal Keywords: stacks
Cc:

Description (last modified by atchertchian) (diff)

Get the levels to display on edit template for hierarchical stacks

i.e. calculate available levels by adding missing levels between occupied levels and beyond each "exterme" level. Maybe we will have to use "mid-levels" when inserting people between two occupied levels (?)

For the time being I was calculating levels to display in templates using : all_non_empty_levels python:delegatees_ds and delegatees_ds.getAllLevels() or []; all_levels python:not all_non_empty_levels and [0] or all_non_empty_levels and range(all_non_empty_levels[0]-1, all_non_empty_levels[-1]+2);

(but it does not provide mid-levels)

Change History

comment:1 Changed 15 years ago by atchertchian

  • Owner changed from bugs@… to ja@…

comment:2 Changed 15 years ago by atchertchian

  • Cc bugs@… added

comment:3 Changed 14 years ago by janguenot

  • Version changed from unspecified to TRUNK
  • Milestone changed from unspecified to CPS 3.3.6

comment:4 Changed 14 years ago by janguenot

  • Priority changed from P2 to P3
  • Milestone changed from CPS 3.3.6 to CPS 3.5.0

comment:5 Changed 14 years ago by atchertchian

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Added in [34522]

Note: See TracTickets for help on using tickets.