Skip to content

Commit

Permalink
[UI] Change Form, SMS and Email types header (mautic#13582)
Browse files Browse the repository at this point in the history
* reduced the titles

* icons

* reduced email titles

* email icons

* sms icons

* reduced sms titles
  • Loading branch information
andersonjeccel authored Apr 9, 2024
1 parent 693eaf3 commit f1ad533
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/bundles/EmailBundle/Resources/views/Email/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@
'cancelUrl' : 'mautic_email_index',
'header' : 'mautic.email.type.header',
'typeOneHeader' : 'mautic.email.type.template.header',
'typeOneIconClass' : 'fa-cube',
'typeOneIconClass' : 'ri-mail-send-fill',
'typeOneDescription' : 'mautic.email.type.template.description',
'typeOneOnClick' : "Mautic.selectEmailType('template');",
'typeTwoHeader' : 'mautic.email.type.list.header',
'typeTwoIconClass' : 'fa-pie-chart',
'typeTwoIconClass' : 'ri-pie-chart-fill',
'typeTwoDescription' : 'mautic.email.type.list.description',
'typeTwoOnClick' : "Mautic.selectEmailType('list');",
}) -}}
Expand Down
4 changes: 2 additions & 2 deletions app/bundles/EmailBundle/Translations/en_US/messages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ mautic.email.tokens.help="Tokens are placeholders for featured objects. Just dra
mautic.email.total="Total"
mautic.email.type.header="What type of email do you want to create?"
mautic.email.type.list.description="A segment email can be manually sent to selected contact segments. Once the email has been sent, it cannot be edited. However, it can be sent to new contacts as they are added to the associated segments."
mautic.email.type.list.header="New Segment Email"
mautic.email.type.list.header="Segment Email"
mautic.email.type.list="Segment Emails"
mautic.email.type.template.description="A template email is automatically sent by campaigns, forms, point triggers, etc. These can be edited but cannot be sent to a contact segment."
mautic.email.type.template.header="New Template Email"
mautic.email.type.template.header="Template Email"
mautic.email.type.template="Template Emails"
mautic.email.unsubscribe.text="<a href='%link%'>Unsubscribe</a> to no longer receive emails from us."
mautic.email.unsubscribe="Unsubscribe"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@
'cancelUrl': 'mautic_form_index',
'header': 'mautic.form.type.header',
'typeOneHeader': 'mautic.form.type.campaign.header',
'typeOneIconClass': 'fa-cubes',
'typeOneIconClass': 'ri-megaphone-fill',
'typeOneDescription': 'mautic.form.type.campaign.description',
'typeOneOnClick': "Mautic.selectFormType('campaign');",
'typeTwoHeader': 'mautic.form.type.standalone.header',
'typeTwoIconClass': 'fa-list',
'typeTwoIconClass': 'ri-survey-fill',
'typeTwoDescription': 'mautic.form.type.standalone.description',
'typeTwoOnClick': "Mautic.selectFormType('standalone');",
}, with_context=false) }}
Expand Down
4 changes: 2 additions & 2 deletions app/bundles/FormBundle/Translations/en_US/messages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ mautic.form.table.top.referrers="Top referrers"
mautic.form.type.header="What type of form do you want to create?"
mautic.form.type.campaign="Campaign Forms"
mautic.form.type.campaign.description="Campaign forms can be selected to be the source of contacts when building a campaign. Some submit actions may not be available."
mautic.form.type.campaign.header="New Campaign Form"
mautic.form.type.campaign.header="Campaign Form"
mautic.form.type.standalone="Standalone Forms"
mautic.form.type.standalone.description="Standalone forms are not restrained to campaigns and can have all submit actions configured directly within the form."
mautic.form.type.standalone.header="New Standalone Form"
mautic.form.type.standalone.header="Standalone Form"
mautic.form.webhook.event.form.submit="Form Submit Event"
mautic.form.campaign.event.field_value="Form field value"
mautic.form.campaign.event.field_value_descr="Trigger actions when a submitted form field value suits the defined condition."
Expand Down
4 changes: 2 additions & 2 deletions app/bundles/SmsBundle/Resources/views/Sms/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
'cancelUrl' : 'mautic_sms_index',
'header' : 'mautic.sms.type.header',
'typeOneHeader' : 'mautic.sms.type.template.header',
'typeOneIconClass' : 'fa-cube',
'typeOneIconClass' : 'ri-message-3-fill',
'typeOneDescription' : 'mautic.sms.type.template.description',
'typeOneOnClick' : "Mautic.selectSmsType('template');",
'typeTwoHeader' : 'mautic.sms.type.list.header',
'typeTwoIconClass' : 'fa-pie-chart',
'typeTwoIconClass' : 'ri-pie-chart-fill',
'typeTwoDescription' : 'mautic.sms.type.list.description',
'typeTwoOnClick' : "Mautic.selectSmsType('list');",
}
Expand Down
4 changes: 2 additions & 2 deletions app/bundles/SmsBundle/Translations/en_US/messages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ mautic.sms.stat.sentcount="%count% Sent"

mautic.sms.type.header="What type of sms do you want to create?"
mautic.sms.type.list="List Text Messages"
mautic.sms.type.list.header="New Segment Text Message"
mautic.sms.type.list.header="Segment Text Message"
mautic.sms.icon_tooltip.list_sms="Is a segment (broadcast) sms"
mautic.sms.type.list.description="A list sms can be manually sent to selected contact lists. Once the sms has been sent, it cannot be edited. However, it can be sent to new contacts as they are added to the associated lists."
mautic.sms.type.template="Template Text Messages"
mautic.sms.type.template.header="New Template Text Message"
mautic.sms.type.template.header="Template Text Message"
mautic.sms.type.template.description="A template sms is automatically sent by campaigns, forms, point triggers, etc. These can be edited but cannot be sent to a contact list."

mautic.sms.form.internal.description="Description"
Expand Down

0 comments on commit f1ad533

Please sign in to comment.