Rename the Plan bundle to Program across config, routes, menus, and controllers (Plan -> Initiative), bump version to 0.16.0, and introduce new audience and UTM taxonomy routes and permissions to support the expanded Programs feature set.
44 lines
1.8 KiB
Twig
44 lines
1.8 KiB
Twig
{% extends '@MauticCore/Default/content.html.twig' %}
|
|
|
|
{% block mauticContent %}programStakeholder{% endblock %}
|
|
|
|
{% block headerTitle %}
|
|
{% if entity.id %}
|
|
{{ 'mautic.program.stakeholder.header.edit'|trans({'%name%': entity.name}) }}
|
|
{% else %}
|
|
{{ 'mautic.program.stakeholder.header.new'|trans }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{{ form_start(form) }}
|
|
<div class="box-layout">
|
|
<div class="col-md-9 height-auto bdr-r">
|
|
<div class="pa-md">
|
|
{{ form_row(form.name) }}
|
|
<div class="row">
|
|
{# The selected type's pictogram; updated by program.js when the type changes. #}
|
|
<div class="col-xs-1 text-center pt-lg">
|
|
<i class="initiative-item-type-icon {{ program_item_type_icon('stakeholder', form.type.vars.value) }}" style="font-size: 28px;" aria-hidden="true"></i>
|
|
</div>
|
|
<div class="col-xs-11">
|
|
{{ form_row(form.type) }}
|
|
{# Filled with the selected type's description by program.js. #}
|
|
<p class="help-block initiative-item-type-help">{{ program_item_type_description('stakeholder', form.type.vars.value) }}</p>
|
|
</div>
|
|
</div>
|
|
{{ form_row(form.role) }}
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3 height-auto">
|
|
<div class="pr-lg pl-lg pt-md pb-md">
|
|
{{ form_row(form.isPublished) }}
|
|
{{ form_row(form.email) }}
|
|
{{ form_row(form.phone) }}
|
|
<p class="text-muted small">{{ 'mautic.program.stakeholder.phone.help'|trans }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|