{% extends '@MauticCore/Default/content.html.twig' %} {% block mauticContent %}program{% endblock %} {% block headerTitle %} {% if entity.id %} {{ 'mautic.program.header.edit'|trans({'%name%': entity.name}) }} {% else %} {{ 'mautic.program.header.new'|trans }} {% endif %} {% endblock %} {# # Editable, sortable rows (objectives, description items). Each macro renders one row, for existing # rows and, through data-prototype, for new ones. Adding, removing and reordering rows is handled by # Assets/js/program.js, through the initiative-collection-* classes. #} {% macro row_start(dragLabel) %}
{{ program_item_type_description('objective', objective.type.vars.value) }}
{{ program_item_type_description('description', item.type.vars.value) }}
{{ program_item_type_description('allocation', item.type.vars.value) }}
{{ dateToFull(entity.completedAt) }}
{{ 'mautic.program.audience.link_tab.help'|trans }}
{{ 'mautic.program.task.manage_from_initiative_page'|trans }}
{% endif %} {{ include('@Program/Initiative/_task_table.html.twig', { 'initiative': entity, 'taskTree': taskTree|default([]), 'readOnly': true, }) }}