feat: Add TargetType form and migration for plan targets
- Implemented TargetType form for managing target details including name, type, priority, stages, estimated size, profile criteria, pain points, value proposition, and preferred channels. - Created migration scripts for adding type and priority columns to plan objectives and tasks. - Added migration for creating plan targets and plan target stages tables, including foreign key constraints. - Introduced stakeholder management with forms and views for creating, editing, and listing stakeholders. - Enhanced UI with read more functionality for long text descriptions and filtering options in plan tab tables.
This commit is contained in:
1 parent
8c8d7a6f95
commit
8696acd01c
52 files changed
+3178
-125
No files matched your search
@@ -1,7 +1,8 @@
|
||||
{#
|
||||
# Settings > Configuration > Plan Settings: the general currency, the description item types and the
|
||||
# allocation item types, each with a pictogram. Adding and removing types, and the pictogram preview,
|
||||
# are handled by Assets/js/plan.js (delegated handlers on .plan-config-types).
|
||||
# Settings > Configuration > Plan Settings: the general currency, then one section per kind of plan
|
||||
# item (description, allocation, objectives, tasks), each with a pictogram. Adding and removing
|
||||
# types, and the pictogram preview, are handled by Assets/js/plan.js (delegated handlers on
|
||||
# .plan-config-types).
|
||||
#}
|
||||
|
||||
{% macro type_row(type) %}
|
||||
@@ -83,6 +84,7 @@
|
||||
<h4 class="fw-sb mb-xs">{{ 'mautic.plan.config.section.general'|trans }}</h4>
|
||||
<div class="row">
|
||||
<div class="col-md-6">{{ form_row(form.children.plan_currency) }}</div>
|
||||
<div class="col-md-6">{{ form_row(form.children.plan_stakeholder_phone_region) }}</div>
|
||||
</div>
|
||||
<p class="text-muted small">{{ 'mautic.plan.config.currency.help'|trans }}</p>
|
||||
|
||||
@@ -93,4 +95,16 @@
|
||||
{{ plan.type_section(form.children.plan_allocation_item_types,
|
||||
'mautic.plan.config.section.allocation_item_types',
|
||||
'mautic.plan.config.section.allocation_item_types.help') }}
|
||||
|
||||
{{ plan.type_section(form.children.plan_objective_types,
|
||||
'mautic.plan.config.section.objective_types',
|
||||
'mautic.plan.config.section.objective_types.help') }}
|
||||
|
||||
{{ plan.type_section(form.children.plan_task_types,
|
||||
'mautic.plan.config.section.task_types',
|
||||
'mautic.plan.config.section.task_types.help') }}
|
||||
|
||||
{{ plan.type_section(form.children.plan_stakeholder_types,
|
||||
'mautic.plan.config.section.stakeholder_types',
|
||||
'mautic.plan.config.section.stakeholder_types.help') }}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user