1.3.2 send_mail_for_user_subscribes_that_is_going_to_finish
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
{% load i18n %}
|
||||
|
||||
<div style="font-family:Calibri,Candara,Segoe,'Segoe UI',Optima,Arial,sans-serif;
|
||||
padding:10px; background-color: #F8F8F8;">
|
||||
<div style="line-height:1.0em; width: 660px">
|
||||
<div style="padding:5px; text-align: center;">
|
||||
<img src="{{ logo }}" alt="{{ project_name }}" style="margin:0;padding:0;">
|
||||
</div>
|
||||
|
||||
<p style="font-weight:700; font-size:25px; text-align:center;
|
||||
padding:0; line-height:1em; text-transform: uppercase; color: #ff613a;
|
||||
margin: auto; max-width: 90%;
|
||||
">
|
||||
{% translate 'Уважаемый' %}, {{ user_subscribe.user }}!
|
||||
</p>
|
||||
<div style="line-height:1.0em; font-size:18px; margin: 5px 30px;
|
||||
box-shadow: -1px 4px 10px 0 rgba(198, 199, 203, 0.20), 0 -1px 10px 0 rgba(198, 199, 203, 0.20);
|
||||
padding: 30px; border-radius: 10px; background-color: #FFF;">
|
||||
<p>{% translate 'Ваша подписка на сайте' %} <a href="{{ domain }}/">TripWithBonus</a> истекает {{ user_subscribe.paid_period_to_DT|date }}</p>
|
||||
<p>{% translate 'Вы можете продлить подписку через свой личный кабинет. Пройдите по ссылке ниже для входа на сайт.' %}</p>
|
||||
<p><b><a href="{{ domain }}/profile/page/my_subscribe/">Моя подписка на TripWithBonus</a></b></p>
|
||||
<p>
|
||||
{% translate 'Спасибо за то, что вы с нами!' %}<br>
|
||||
{% translate 'С уважением,' %}<br>
|
||||
{% translate 'Команда Trip With Bonus.' %}<br>
|
||||
</p>
|
||||
</div>
|
||||
{% for button in message_buttons %}
|
||||
<div style="text-align:center;font-weight: 700;">
|
||||
<a href="{{ button.url }}">
|
||||
<div style="display:inline-block;text-align:center;font-size:18px;padding:5px 10px;margin:5px;border-radius:2px;background-color:#61aeb6;color:#fff;text-decoration:none;line-height:1.0em;cursor:pointer">
|
||||
{{ button.caption }}
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{# <div style="text-align:center;width: 660px;line-height:1.1em">#}
|
||||
{# <div style="margin: 40px 10px 10px;">#}
|
||||
{# <hr>#}
|
||||
{# <nobr><b>Адрес:</b></nobr>#}
|
||||
{# <br>#}
|
||||
{# <nobr><b>График работы:</b> пн-вс 12:00 - 24:00</nobr>#}
|
||||
{# <br>#}
|
||||
{# <nobr><b>Телефоны:</b></nobr>#}
|
||||
{# </div>#}
|
||||
{# </div>#}
|
||||
{##}
|
||||
{# <div style="text-align: center;margin-top:5px">#}
|
||||
{# <a href="" style="text-decoration: none;">#}
|
||||
{# <div style="color: #311A12;#}
|
||||
{# padding: 10px;#}
|
||||
{# margin: 5px 10px 0 10px;#}
|
||||
{# border: 2px solid #311A12;#}
|
||||
{# border-radius: 5px;#}
|
||||
{# font-size: 20px;#}
|
||||
{# display: inline-block;#}
|
||||
{# font-weight: 700;#}
|
||||
{# text-transform: uppercase;">О ДОСТАВКЕ#}
|
||||
{# </div>#}
|
||||
{# </a>#}
|
||||
{# <a href="" style="text-decoration: none;">#}
|
||||
{# <div style="color: #311A12;#}
|
||||
{# padding: 10px;#}
|
||||
{# margin: 5px 10px 0 10px;#}
|
||||
{# border: 2px solid #311A12;#}
|
||||
{# border-radius: 5px;#}
|
||||
{# font-size: 20px;#}
|
||||
{# display: inline-block;#}
|
||||
{# font-weight: 700;#}
|
||||
{# text-transform: uppercase;">О#}
|
||||
{# </div>#}
|
||||
{# </a>#}
|
||||
{# </div>#}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user