{% extends '@MauticCore/Default/content.html.twig' %} {% block mauticContent %}plan{% endblock %} {% block headerTitle %} {% if entity.id %} {{ 'mautic.plan.header.edit'|trans({'%name%': entity.name}) }} {% else %} {{ 'mautic.plan.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/plan.js, through the plan-collection-* classes. #} {% macro row_start(dragLabel) %}
{{ plan_item_type_description('objective', objective.type.vars.value) }}
{{ plan_item_type_description('description', item.type.vars.value) }}
{{ plan_item_type_description('allocation', item.type.vars.value) }}
{{ dateToFull(entity.completedAt) }}
{{ 'mautic.plan.task.manage_from_plan_page'|trans }}
{% endif %} {{ include('@Plan/Plan/_task_table.html.twig', { 'plan': entity, 'taskTree': taskTree|default([]), 'readOnly': true, }) }}