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,32 @@
|
||||
{#
|
||||
# Tab bar shared by the program form and the program detail page.
|
||||
#
|
||||
# Parameters:
|
||||
# programId: the program's id (null for a new program)
|
||||
# counts (optional): tab id => number shown next to the tab name
|
||||
#
|
||||
# The tab panes use the ids program-tab-<id>. Assets/js/mt3s-mp-program.js reopens the tab last used for this plan
|
||||
# (so Edit, Save and Cancel keep the same tab), and on the form marks the tabs whose pane contains a
|
||||
# validation error and opens the first of them.
|
||||
#}
|
||||
{% set programTabs = {
|
||||
'details': 'mt3s.marketing_program.tab.details',
|
||||
'description': 'mt3s.marketing_program.tab.description',
|
||||
'objectives': 'mt3s.marketing_program.tab.objectives',
|
||||
'allocation': 'mt3s.marketing_program.tab.allocations',
|
||||
'audiences': 'mt3s.marketing_program.tab.audiences',
|
||||
'stakeholders': 'mt3s.marketing_program.tab.stakeholders',
|
||||
'tasks': 'mt3s.marketing_program.tab.tasks',
|
||||
} %}
|
||||
<ul class="nav nav-tabs nav-tabs-contained tabs-horizontal program-tabs" role="tablist" data-program-id="{{ programId|default('') }}">
|
||||
{% for id, label in programTabs %}
|
||||
<li class="{{ loop.first ? 'active' : '' }}" data-tab-id="program-tab-{{ id }}">
|
||||
<a href="#program-tab-{{ id }}" role="tab" data-toggle="tab">
|
||||
<span>{{ label|trans }}</span>
|
||||
{% if counts is defined and counts[id] is defined %}
|
||||
<span class="badge">{{ counts[id] }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in new issue
Block a user