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
@@ -1,12 +1,12 @@
|
||||
{% extends '@MauticCore/Default/content.html.twig' %}
|
||||
|
||||
{% block mauticContent %}programAudience{% endblock %}
|
||||
{% block mauticContent %}mt3sMpProgramAudience{% endblock %}
|
||||
|
||||
{% block headerTitle %}
|
||||
{% if entity.id %}
|
||||
{{ 'mautic.program.audience.header.edit'|trans({'%name%': entity.name}) }}
|
||||
{{ 'mt3s.marketing_program.audience.header.edit'|trans({'%name%': entity.name}) }}
|
||||
{% else %}
|
||||
{{ 'mautic.program.audience.header.new'|trans }}
|
||||
{{ 'mt3s.marketing_program.audience.header.new'|trans }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -17,18 +17,18 @@
|
||||
<div class="pa-md">
|
||||
{{ form_row(form.name) }}
|
||||
<div class="row">
|
||||
{# The selected type's pictogram, fixed per type; programAudienceOnLoad updates it
|
||||
{# The selected type's pictogram, fixed per type; mt3sMpProgramAudienceOnLoad updates it
|
||||
when the dropdown changes. A new form defaults to Persona. #}
|
||||
<div class="col-xs-1 text-center pt-lg">
|
||||
<i class="{{ (entity.audienceType ?? constant('MauticPlugin\\ProgramBundle\\Entity\\AudienceType::Persona'))|program_audience_type_icon }} initiative-item-type-icon" style="font-size: 28px;" aria-hidden="true"></i>
|
||||
<i class="{{ (entity.audienceType ?? constant('MauticPlugin\\MT3SMarketingProgramBundle\\Entity\\AudienceType::Persona'))|mt3s_marketing_program_audience_type_icon }} program-item-type-icon" style="font-size: 28px;" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="col-xs-11">
|
||||
{{ form_row(form.audienceType) }}
|
||||
<p class="text-muted small">{{ 'mautic.program.audience.type.fixed_note'|trans }}</p>
|
||||
<p class="text-muted small">{{ 'mt3s.marketing_program.audience.type.fixed_note'|trans }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ form_row(form.segments) }}
|
||||
<p class="text-muted small">{{ 'mautic.program.audience.segments.note'|trans }}</p>
|
||||
<p class="text-muted small">{{ 'mt3s.marketing_program.audience.segments.note'|trans }}</p>
|
||||
{% if form.tagline is defined %}{{ form_row(form.tagline) }}{% endif %}
|
||||
{% if form.profileCriteria is defined %}{{ form_row(form.profileCriteria) }}{% endif %}
|
||||
{% if form.motivations is defined %}{{ form_row(form.motivations) }}{% endif %}
|
||||
@@ -45,7 +45,7 @@
|
||||
<div class="col-md-3 height-auto">
|
||||
<div class="pr-lg pl-lg pt-md pb-md">
|
||||
{{ form_row(form.isPublished) }}
|
||||
<p class="text-muted small">{{ 'mautic.program.audience.active.help'|trans }}</p>
|
||||
<p class="text-muted small">{{ 'mt3s.marketing_program.audience.active.help'|trans }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user