{{ 'mautic.plan.config.currency.help'|trans }}
@@ -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 %} diff --git a/Resources/views/Plan/_description_read_more.html.twig b/Resources/views/Plan/_description_read_more.html.twig new file mode 100644 index 0000000..eb43f70 --- /dev/null +++ b/Resources/views/Plan/_description_read_more.html.twig @@ -0,0 +1,24 @@ +{# + # A long text clamped to 10 lines with a "Read more" toggle: the first rows of a tab table stay + # readable at a glance, and nothing is lost. Pure CSS does the clamping (line-clamp works onwith + # display:-webkit-box); the button only toggles the class, so it also works without JS. + # + # Parameters: + # text: the text to show (may contain line breaks; URLs in it become links, see plan_linkify) + # id: unique element id for this instance + # lines: number of lines to clamp to (default 10) + #} +{% set lines = lines|default(10) %} +{% if text|trim is not empty %} +