{# # Tab bar shared by the program form and the program detail page. # # Parameters: # programId: the program's id (null for a new program) # counts (optional): tab id => number shown next to the tab name # # The tab panes use the ids program-tab-. Assets/js/mt3s-mp-program.js reopens the tab last used for this plan # (so Edit, Save and Cancel keep the same tab), and on the form marks the tabs whose pane contains a # validation error and opens the first of them. #} {% set programTabs = { 'details': 'mt3s.marketing_program.tab.details', 'description': 'mt3s.marketing_program.tab.description', 'objectives': 'mt3s.marketing_program.tab.objectives', 'allocation': 'mt3s.marketing_program.tab.allocations', 'audiences': 'mt3s.marketing_program.tab.audiences', 'stakeholders': 'mt3s.marketing_program.tab.stakeholders', 'tasks': 'mt3s.marketing_program.tab.tasks', } %}