Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- translation
- mail:
- demo:
- submited:
- subject: New demo request
- title: 'Hello {{ recipient }},'
- body: '{{ name }} made new demo request from company {{ company }}!'
- action: Open admin panel
- scheduled:
- subject: Demo sheduled
- title: 'Hello {{ recipient }},'
- body: '{{ name }} scheduled demo!'
- action: Demo scheduled
- ******************
- views/email/demo
- {% extends ':email/layout/'~ locale ~':index.html.twig' %}
- {% block subject %} {{ 'mail.demo.submited.subject' | trans({}, 'messages') }} {% endblock subject %}
- {% block mail_title %}
- {{ 'mail.demo.submited.title' | trans({'{{ recipient }}': demo.name}, 'messages') }}
- {% endblock mail_title %}
- {% block mail_body %}
- {{ 'mail.demo.submited.body' | trans({'{{ name }}' : demo.name, '{{ company }}' : demo.company}, 'messages') }}
- {% endblock mail_body %}
- {% block mail_action_link %}
- {{ project_domain ~ path('admin_dashboard') }}
- {% endblock mail_action_link %}
- {% block mail_action_text %}
- {{ 'mail.demo.submited.action' | trans() }}
- {% endblock mail_action_text %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement