refactor(plugin): rebrand as MT3SMarketingProgram, release 0.17.0
Rename the plugin's vendor/namespace from experiential/Program to mt3s/MT3SMarketingProgram (composer: mt3s/mautic-marketing-program-bundle): - ProgramBundle -> MT3SMarketingProgramBundle; extension, integration, config support, permissions, events and twig extension renamed likewise - Initiative* -> Program*: controller (InitiativeController -> ProgramController), model, entities, repositories, form types and views (new _tabs/_task_table/_tab_table_filter partials, details page) - Settings config form theme -> _config_mt3smarketingprogramconfig_widget; routes and translations re-prefixed (mt3s_marketing_program_*) - Assets: icon.svg -> mt3s-mp-icon.svg; program.js -> mt3s-mp-program.js (OnLoad hooks renamed mt3sMpProgram*) - Add Command/RefreshStatsCommand; Migrations/Version_0_17_0.php renames the tables to mt3s_mp_program_*
This commit is contained in:
1 parent
687d33d30c
commit
ea88b7a772
131 files changed
+3238
-2836
No files matched your search
@@ -0,0 +1,24 @@
|
||||
{#
|
||||
# Settings > Configuration > Program Settings: the plugin's general settings only — the currency,
|
||||
# the stakeholder phone region, and the audience attribute toggles. The item type lists moved to
|
||||
# their own page under Programs (ItemTypesController, Resources/views/ItemTypes/form.html.twig).
|
||||
#}
|
||||
|
||||
{% block _config_mt3smarketingprogramconfig_widget %}
|
||||
<div class="text-muted small pb-md">{{ 'mt3s.marketing_program.config.description'|trans }}</div>
|
||||
|
||||
<h4 class="fw-sb mb-xs">{{ 'mt3s.marketing_program.config.section.general'|trans }}</h4>
|
||||
<div class="row">
|
||||
<div class="col-md-6">{{ form_row(form.children.mt3s_marketing_program_currency) }}</div>
|
||||
<div class="col-md-6">{{ form_row(form.children.mt3s_marketing_program_stakeholder_phone_region) }}</div>
|
||||
</div>
|
||||
<p class="text-muted small">{{ 'mt3s.marketing_program.config.currency.help'|trans }}</p>
|
||||
|
||||
<h4 class="fw-sb mt-lg mb-xs">{{ 'mt3s.marketing_program.config.section.audience_attributes'|trans }}</h4>
|
||||
<p class="text-muted small">{{ 'mt3s.marketing_program.config.section.audience_attributes.help'|trans }}</p>
|
||||
<div class="program-config-audience-attributes">
|
||||
{% for attribute in mt3s_marketing_program_audience_attributes() %}
|
||||
{{ form_row(form.children[mt3s_marketing_program_audience_attribute_toggle(attribute)]) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,24 +0,0 @@
|
||||
{#
|
||||
# Settings > Configuration > Program Settings: the plugin's general settings only — the currency,
|
||||
# the stakeholder phone region, and the audience attribute toggles. The item type lists moved to
|
||||
# their own page under Programs (ItemTypesController, Resources/views/ItemTypes/form.html.twig).
|
||||
#}
|
||||
|
||||
{% block _config_programconfig_widget %}
|
||||
<div class="text-muted small pb-md">{{ 'mautic.program.config.description'|trans }}</div>
|
||||
|
||||
<h4 class="fw-sb mb-xs">{{ 'mautic.program.config.section.general'|trans }}</h4>
|
||||
<div class="row">
|
||||
<div class="col-md-6">{{ form_row(form.children.program_currency) }}</div>
|
||||
<div class="col-md-6">{{ form_row(form.children.program_stakeholder_phone_region) }}</div>
|
||||
</div>
|
||||
<p class="text-muted small">{{ 'mautic.program.config.currency.help'|trans }}</p>
|
||||
|
||||
<h4 class="fw-sb mt-lg mb-xs">{{ 'mautic.program.config.section.audience_attributes'|trans }}</h4>
|
||||
<p class="text-muted small">{{ 'mautic.program.config.section.audience_attributes.help'|trans }}</p>
|
||||
<div class="program-config-audience-attributes">
|
||||
{% for attribute in program_audience_attributes() %}
|
||||
{{ form_row(form.children[program_audience_attribute_toggle(attribute)]) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user