diff --git a/templates/base.html.twig b/templates/base.html.twig index 881b698..4cddf07 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -25,8 +25,9 @@ - Domain Watchdog + + {{ encore_entry_link_tags('app') }} diff --git a/templates/emails/base.html.twig b/templates/emails/base.html.twig new file mode 100644 index 0000000..7a859ad --- /dev/null +++ b/templates/emails/base.html.twig @@ -0,0 +1,60 @@ + + + + + {{ title|default('Domain Watchdog - Notification') }} + + +
+
+

{{ title|default('Domain Watchdog - Notification') }}

+
+
+ {% block content %}{% endblock %} +
+ +
+ + \ No newline at end of file diff --git a/templates/emails/errors/domain_order.html.twig b/templates/emails/errors/domain_order.html.twig index f313755..dbc713f 100644 --- a/templates/emails/errors/domain_order.html.twig +++ b/templates/emails/errors/domain_order.html.twig @@ -1,80 +1,20 @@ - - - - - Domain Watchdog Error - - -
-
-

Domain Watchdog Error

-
-
-

Hello,
- We would like to inform you that an error occurred while ordering the following domain name:
- Domain name: {{ domain.ldhName }}
-

-

Here are some possible explanations:

- -

-

Thank you for your understanding,
- Sincerely,
- Domain Watchdog
-

-
- -
- - +{% set email_color = '#f9f9f9' %} +{% set title = 'Domain Watchdog Error' %} +{% block content %} +

Hello,
+ We would like to inform you that an error occurred while ordering the following domain name:
+ Domain name: {{ domain.ldhName }}
+

+

Here are some possible explanations:

+ +

+

Thank you for your understanding,
+ Sincerely,
+

+{% endblock %} diff --git a/templates/emails/errors/domain_update.html.twig b/templates/emails/errors/domain_update.html.twig index 2c953d4..ccac161 100644 --- a/templates/emails/errors/domain_update.html.twig +++ b/templates/emails/errors/domain_update.html.twig @@ -1,81 +1,20 @@ - - - - - Domain Watchdog Error - - -
-
-

Domain Watchdog Error

-
-
-

Hello,
- We would like to inform you that an error occurred while updating the information for the following domain - name:
- Domain name: {{ domain.ldhName }}
-

-

Here are some possible explanations:

- -

-

Thank you for your understanding,
- Sincerely,
- Domain Watchdog
-

- -
- -
- - +{% set email_color = '#f9f9f9' %} +{% set title = 'Domain Watchdog Error' %} +{% block content %} +

Hello,
+ We would like to inform you that an error occurred while updating the information for the following domain + name:
+ Domain name: {{ domain.ldhName }}
+

+

Here are some possible explanations:

+ +

+

Thank you for your understanding,
+ Sincerely,
+

+{% endblock %} diff --git a/templates/emails/success/confirmation_email.html.twig b/templates/emails/success/confirmation_email.html.twig index ec66cc6..0324caf 100644 --- a/templates/emails/success/confirmation_email.html.twig +++ b/templates/emails/success/confirmation_email.html.twig @@ -1,66 +1,14 @@ - - - - - Domain Watchdog - Confirm Email - - -
-
-

Domain Watchdog - Confirm Email

-
-
-

Hello,
- Please confirm your email address by clicking the following link:

- Confirm my Email. - This link will expire in {{ expiresAtMessageKey|trans(expiresAtMessageData, 'VerifyEmailBundle') }}. -

- Thank you for your understanding,
- Sincerely,
- Domain Watchdog
-

-
- -
- - \ No newline at end of file +{% set email_color = '#0056b3' %} +{% set title = 'Domain Watchdog - Confirm Email' %} +{% block content %} +

Hello,
+ Please confirm your email address by clicking the following link:

+ Confirm my Email. + This link will expire in {{ expiresAtMessageKey|trans(expiresAtMessageData, 'VerifyEmailBundle') }}. +

+ Thank you for your understanding,
+ Sincerely,
+

+{% endblock %} diff --git a/templates/emails/success/domain_ordered.html.twig b/templates/emails/success/domain_ordered.html.twig index 710caea..376cc7f 100644 --- a/templates/emails/success/domain_ordered.html.twig +++ b/templates/emails/success/domain_ordered.html.twig @@ -1,67 +1,15 @@ - - - - - Domain Watchdog - Domain Ordered - - -
-
-

Domain Watchdog - Domain Ordered

-
-
-

Hello,
- We are pleased to inform you that a domain name present in your Watchlist has been ordered using the - connector you have chosen.
- Domain name: {{ domain.ldhName }}
- Connector provider : {{ provider }}
-

- Thank you for your understanding,
- Sincerely,
- Domain Watchdog
-

-
- -
- - \ No newline at end of file +{% set email_color = '#0056b3' %} +{% set title = 'Domain Watchdog - Domain Ordered' %} +{% block content %} +

Hello,
+ We are pleased to inform you that a domain name present in your Watchlist has been ordered using the + connector you have chosen.
+ Domain name: {{ domain.ldhName }}
+ Connector provider : {{ provider }}
+

+ Thank you for your understanding,
+ Sincerely,
+

+{% endblock %} diff --git a/templates/emails/success/domain_updated.html.twig b/templates/emails/success/domain_updated.html.twig index 6d40dc6..1c3bd6a 100644 --- a/templates/emails/success/domain_updated.html.twig +++ b/templates/emails/success/domain_updated.html.twig @@ -1,67 +1,15 @@ - - - - - Domain Watchdog Alert - - -
-
-

Domain Watchdog Alert

-
-
-

Hello,
- We are pleased to inform you that a new action has been detected on a domain name in your watchlist.
- Domain name: {{ event.domain.ldhName }}
- Action: {{ event.action }}
- Effective Date: {{ event.date | date("c") }}
-

- Thank you for your understanding,
- Sincerely,
- Domain Watchdog
-

-
- -
- - \ No newline at end of file +{% set email_color = '#0056b3' %} +{% set title = 'Domain Watchdog Alert' %} +{% block content %} +

Hello,
+ We are pleased to inform you that a new action has been detected on a domain name in your watchlist.
+ Domain name: {{ event.domain.ldhName }}
+ Action: {{ event.action }}
+ Effective Date: {{ event.date | date("c") }}
+

+ Thank you for your understanding,
+ Sincerely,
+

+{% endblock %}