refactor(plugin): rename Plan to Program and add audience/UTM routes
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.
This commit is contained in:
1 parent
8268fad886
commit
71ff11390b
121 files changed
+5011
-2874
No files matched your search
@@ -1,12 +1,12 @@
|
||||
{% extends '@MauticCore/Default/content.html.twig' %}
|
||||
|
||||
{% block mauticContent %}planStakeholder{% endblock %}
|
||||
{% block mauticContent %}programStakeholder{% endblock %}
|
||||
|
||||
{% block headerTitle %}
|
||||
{% if entity.id %}
|
||||
{{ 'mautic.plan.stakeholder.header.edit'|trans({'%name%': entity.name}) }}
|
||||
{{ 'mautic.program.stakeholder.header.edit'|trans({'%name%': entity.name}) }}
|
||||
{% else %}
|
||||
{{ 'mautic.plan.stakeholder.header.new'|trans }}
|
||||
{{ 'mautic.program.stakeholder.header.new'|trans }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
<div class="pa-md">
|
||||
{{ form_row(form.name) }}
|
||||
<div class="row">
|
||||
{# The selected type's pictogram; updated by plan.js when the type changes. #}
|
||||
{# The selected type's pictogram; updated by program.js when the type changes. #}
|
||||
<div class="col-xs-1 text-center pt-lg">
|
||||
<i class="plan-item-type-icon {{ plan_item_type_icon('stakeholder', form.type.vars.value) }}" style="font-size: 28px;" aria-hidden="true"></i>
|
||||
<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 plan.js. #}
|
||||
<p class="help-block plan-item-type-help">{{ plan_item_type_description('stakeholder', form.type.vars.value) }}</p>
|
||||
{# 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) }}
|
||||
@@ -35,7 +35,7 @@
|
||||
{{ form_row(form.isPublished) }}
|
||||
{{ form_row(form.email) }}
|
||||
{{ form_row(form.phone) }}
|
||||
<p class="text-muted small">{{ 'mautic.plan.stakeholder.phone.help'|trans }}</p>
|
||||
<p class="text-muted small">{{ 'mautic.program.stakeholder.phone.help'|trans }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user