Merge branch 'stage6' of bitbucket.org:Bonus_05/expomap into stage6

remotes/origin/stage6
Alexander Burdeinyi 9 years ago
commit 7f58bc6bd5
  1. 262
      emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html
  2. 10
      static/client/css/main.css
  3. 2
      static/client/css_min/main.min.css

@ -1,11 +1,4 @@
{% load i18n %} {% load i18n %}{% spaceless %}
{#{% load static %}#}
{#{% load thumbnail %}#}
{# <a href="http://{{ domain }}{% url 'events:main' %}?{{ moscow_filter_url }}">{% trans "ПОСМОТРЕТЬ ВСЕ" %} ></a> #}
{# <a href="http://{{ domain }}{% url 'events:main' %}?{{ russia_filter_url }}">{% trans "ПОСМОТРЕТЬ ВСЕ" %} ></a> #}
{# <a href="http://{{ domain }}{% url 'events:main' %}?{{ foreign_filter_url }}">{% trans "ПОСМОТРЕТЬ ВСЕ" %} ></a> #}
{# <a href="http://{{ domain }}{% url 'newsletter-authmailingsettings' uidb36=uidb36 token=token %}">{% trans "НАСТРОИТЬ" %} ></a> #}
<style type="text/css" media="screen"> <style type="text/css" media="screen">
body{height:100%!important;margin:0;padding:0;width:100%!important;} body{height:100%!important;margin:0;padding:0;width:100%!important;}
@ -20,14 +13,14 @@
body,table,td,p,a,li,blockquote{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;} body,table,td,p,a,li,blockquote{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
.hundered{width:100%!important;} .hundered{width:100%!important;}
.tag{font-size: 13px; color: #999999;} a[class*="tag"]{font-size: 13px; color: #999999;}
.tag:hover{text-decoration: none;} a[class*="tag"]:hover{text-decoration: none;}
.color1{color: #33ccff;} .color1{color: #33ccff;}
.color2{color: #cc3399;} .color2{color: #cc3399;}
.color3{color: #99cc66;} .color3{color: #99cc66;}
.color4{color: #ff6600;} .color4{color: #ff6600;}
.event_title{ a[class*="event_title"]{
font-family: Arial,sans-serif; font-family: Arial,sans-serif;
font-size: 17px; font-size: 17px;
line-height: 21px; line-height: 21px;
@ -77,7 +70,7 @@
<!-- BACKGROUND --> <!-- BACKGROUND -->
<table border="0" cellspacing="0" style="width:100%; background-color: #f8f8f6; font-family: Arial;"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%; background-color: #f8f8f6; font-family: Arial;">
{% comment %} {% comment %}
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -86,17 +79,9 @@
<tr class="mld-body mld-body-1"> <tr class="mld-body mld-body-1">
<td align="center" valign="top" style="background-color: #f8f8f6; border-top: 1px solid #f3f3f3;"> <td align="center" valign="top" style="background-color: #f8f8f6; border-top: 1px solid #f3f3f3;">
<!-- LAOYUT BODY -->
{% comment %}
<table border="0" cellspacing="0" cellpadding="0" style="width: 600px; font-family: Arial, sans-serif;">
<tr>
<td align="center" valign="top" style="background-color: #f8f8f6;">
{% endcomment %}
<!-- PADDING LEFT&RIGHT --> <!-- PADDING LEFT&RIGHT -->
<table border="0" cellspacing="0" class="mld-element mld-container" style="width:100%;"> <table cellspacing="0" cellpadding="0" border="0" class="mld-element mld-container" style="width:100%;">
<tr> <tr>
<td align="left" valign="top" style="padding:0px 0px 0px 0px; background-color: #ffffff; border-bottom: 1px solid #f3f3f3"> <td align="left" valign="top" style="padding:0px 0px 0px 0px; background-color: #ffffff; border-bottom: 1px solid #f3f3f3">
<table border="0" cellspacing="0" cellpadding="0" style="width: 600px; margin: 0 auto;"> <table border="0" cellspacing="0" cellpadding="0" style="width: 600px; margin: 0 auto;">
@ -117,40 +102,47 @@
{% if recommended %} {% if recommended %}
{% with recommended.object as obj %} {% with recommended.object as obj %}
<!-- recommendation --> <!-- recommendation -->
<table border="0" cellspacing="0" style="width:100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%;">
<tr> <tr>
<td align="center" style="padding:45px 0px 40px 0px;"> <td align="center" style="padding:45px 0px 40px 0px;">
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td align="center" style="color: #333333; font-size: 28px; font-weight: bold; text-transform: uppercase; padding-bottom: 15px;">{% trans "Самые важные события для вас" %}</td> <td align="center" style="color: #333333; font-size: 28px; font-weight: bold; text-transform: uppercase; padding-bottom: 35px;">{% trans "Самые важные события для вас" %}</td>
</tr> </tr>
</table> </table>
<table style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td valign="top" style="width: 225px;"> <td valign="top" style="width: 225px;">
{# {% thumbnail obj.get_logo '281' as im %}#} <a href="http://{{ domain }}{{ obj.get_permanent_url }}"><img src="cid:recommended{{ obj.pk }}" style="margin-top: -2px;"/></a>{# {% endthumbnail %}#}
<a href="http://{{ domain }}{{ obj.get_permanent_url }}"><img src="cid:recommended{{ obj.pk }}"/></a>
{# {% endthumbnail %}#}
</td> </td>
<td valign="top" align="left" style="padding-left: 22px;"> <td valign="top" align="left" style="padding-left: 22px;">
<table style="wigth: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="wigth: 100%;">
<tr> <tr>
<td valign="middle" style="color: #cc3399; font-size: 13px; text-transform: uppercase; padding: 3px 0px 3px 0px;"> <td valign="middle" style="color: #cc3399; font-size: 13px; text-transform: uppercase; padding: 3px 0px 3px 0px;">
<img src="cid:marker" alt="" style="display: inline-block; vertical-align: middle; margin-right: 5px;"> <table border="0" cellpadding="0" cellspacing="0">
{{ obj.get_event_place_name }} <tr>
<td style="padding-right: 8px;"><img src="cid:marker" alt=""></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="padding: 3px 0px 3px 0px;"><a href="http://{{ domain }}{{ obj.get_permanent_url }}" style="color: #333333; font-size: 25px; font-weight: bold; text-decoration: none;">{{ obj.name|safe }}</a></td> <td style="padding: 3px 0px 3px 0px;">
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" style="color: #333333; font-size: 25px; font-weight: bold; text-decoration: none;">{{ obj.name|safe }}</a></td>
</tr> </tr>
<tr> <tr>
<td style="color: #3399cc; font-size: 17px; padding: 3px 0px 3px 0px;"> <td style="color: #3399cc; font-size: 17px; padding: 3px 0px 3px 0px;">
<img src="cid:calendar" alt=""> <table border="0" cellpadding="0" cellspacing="0">
{{ obj.get_dates_v2 }}, {{ obj.get_event_place_name }} <tr>
<td style="padding-right: 9px;"><img src="cid:calendar" style="margin-top: -2px; alt=""></td>
<td>{{ obj.get_dates_v2 }}, {{ obj.get_event_place_name }}</td>
</tr>
</table>
</td> </td>
</tr> </tr>
@ -163,13 +155,13 @@
<tr> <tr>
<td style="color: #999999; font-size: 13px; padding: 3px 0px 15px 0px;"> <td style="color: #999999; font-size: 13px; padding: 3px 0px 15px 0px;">
{% for tag in obj.tags %} {% for tag in obj.tags %}
<a href="http://{{ domain }}{{ obj.catalog }}tag/{{ tag.url }}" class="tag">{{ tag.name }}</a>{% if not forloop.last %},{% endif %} <a href="http://{{ domain }}{{ obj.catalog }}tag/{{ tag.url }}" class="tag" style="font-size: 13px; color: #999999;">{{ tag.name }}</a>{% if not forloop.last %},{% endif %}
{% endfor %} {% endfor %}
</td> </td>
</tr> </tr>
<tr> <tr>
<td align="center" style="padding: 6px 0px 0px 0px;"> <td style="padding: 6px 0px 0px 0px;">
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" style="display: inline-block; padding: 10px 30px; background-color: #ff6600; border-radius: 5px; text-transform: uppercase; color: #fff; text-decoration: none; font-size: 13px;">{% trans "посмотреть Подробнее" %} <img src="cid:white_arrow"></a> <a href="http://{{ domain }}{{ obj.get_permanent_url }}" style="display: inline-block; padding: 10px 30px; background-color: #ff6600; border-radius: 5px; text-transform: uppercase; color: #fff; text-decoration: none; font-size: 13px;">{% trans "посмотреть Подробнее" %} <img src="cid:white_arrow"></a>
</td> </td>
</tr> </tr>
@ -185,32 +177,30 @@
{% if moscow %} {% if moscow %}
<!-- Moscow --> <!-- Moscow -->
<table border="0" cellspacing="0" style="width:100%; background-color: #ffffff; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%; background-color: #ffffff; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;">
<tr> <tr>
<td> <td>
<table border="0" cellspacing="0" style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td style="padding: 30px 0px 40px 0px;"> <td style="padding: 30px 0px 40px 0px;">
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td align="center" style="color: #333333; font-size: 28px; font-weight: bold; text-transform: uppercase; padding-bottom: 15px;">{% trans "в москве" %}</td> <td align="center" style="color: #333333; font-size: 28px; font-weight: bold; text-transform: uppercase; padding-bottom: 15px;">{% trans "в москве" %}</td>
</tr> </tr>
</table> </table>
{% for sqs_obj in moscow %} {% for sqs_obj in moscow %}
{% with sqs_obj.object as obj %} {% with sqs_obj.object as obj %}
<table style="width: 100%; margin-top: 20px;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; margin-top: 20px; {% if not forloop.last %}border-bottom: 1px solid #eaeaea;{% endif %}">
<tr {% if not forloop.last %}style="border-bottom: 1px solid #eaeaea;"{% endif %}> <tr>
<td valign="top" style="width: 110px;"> <td valign="top" style="width: 110px;">
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_image"> <a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_image">
{# {% thumbnail obj.get_logo '90x90' as im %}#}
<img style="" src="cid:moscow_{{ obj.event_type }}_{{ obj.pk }}"/> <img style="" src="cid:moscow_{{ obj.event_type }}_{{ obj.pk }}"/>
{# {% endthumbnail %}#}
</a> </a>
</td> </td>
<td style="padding-left: 20px; width: 470px;"> <td style="padding-left: 20px; width: 470px;">
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td style="padding-bottom: 5px;"><a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_title">{{ obj.name|safe }}</a></td> <td style="padding-bottom: 5px;"><a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_title" style="font-family: Arial,sans-serif; font-size: 17px; line-height: 21px; font-weight: bold; text-transform: uppercase; color: #333333; text-decoration: none;">{{ obj.name|safe }}</a></td>
</tr> </tr>
<tr> <tr>
@ -219,16 +209,24 @@
<tr> <tr>
<td style="color: #3399cc; font-size: 14px; padding-bottom: 7px;"> <td style="color: #3399cc; font-size: 14px; padding-bottom: 7px;">
<img src="cid:calendar" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table border="0" cellpadding="0" cellspacing="0">
{{ obj.get_dates_v2 }} <tr>
<td style="padding-right: 9px;"><img src="cid:calendar" alt="" style="display: inline-block; vertical-align: middle; margin-right: 4px; margin-top: -2px;"></td>
<td>{{ obj.get_dates_v2 }}</td>
</tr>
</table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="color: #cc3399; font-size: 14px; padding-bottom: 5px;"> <td style="color: #cc3399; font-size: 14px; padding-bottom: 5px;">
{% if obj.get_event_place_name %} {% if obj.get_event_place_name %}
<img src="cid:marker" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table cellspacing="0" cellpadding="0" border="0">
{{ obj.get_event_place_name }} <tr>
<td style="padding-right: 9px;"><img src="cid:marker" alt="" style="display: inline-block; vertical-align: middle; margin-right: 4px; margin-top: -2px;"></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
@ -244,7 +242,7 @@
</table> </table>
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td align="center" style="padding-top: 25px;"> <td align="center" style="padding-top: 25px;">
<a href="http://{{ domain }}{% url 'events:main' %}?{{ moscow_filter_url }}" style="display: inline-block; padding: 8px 23px 7px 29px; border: 1px solid #ff6600; color: #ffffff; background-color: #ff6600; text-decoration: none; text-transform: uppercase; font-size: 12px; line-height: 12px; border-radius: 5px;">{% trans "посмотреть все" %}<img src="cid:white_arrow" alt=""></a> <a href="http://{{ domain }}{% url 'events:main' %}?{{ moscow_filter_url }}" style="display: inline-block; padding: 8px 23px 7px 29px; border: 1px solid #ff6600; color: #ffffff; background-color: #ff6600; text-decoration: none; text-transform: uppercase; font-size: 12px; line-height: 12px; border-radius: 5px;">{% trans "посмотреть все" %}<img src="cid:white_arrow" alt=""></a>
@ -264,21 +262,21 @@
{% if russia %} {% if russia %}
<!-- RF --> <!-- RF -->
<table border="0" cellspacing="0" style="width:100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%;">
<tr> <tr>
<td style="background-color: #f8f8f6; padding: 30px 0px 40px 0px;"> <td style="background-color: #f8f8f6; padding: 30px 0px 40px 0px;">
<table border="0" cellspacing="0" style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td> <td>
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td align="center" style="color: #333333; font-size: 28px; font-weight: bold; text-transform: uppercase; padding-bottom: 15px;">{% trans "В России" %}</td> <td align="center" style="color: #333333; font-size: 28px; font-weight: bold; text-transform: uppercase; padding-bottom: 15px;">{% trans "В России" %}</td>
</tr> </tr>
</table> </table>
{% for sqs_obj in russia %} {% for sqs_obj in russia %}
{% with sqs_obj.object as obj %} {% with sqs_obj.object as obj %}
<table style="width: 100%; margin-top: 18px;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; margin-top: 18px; {% if not forloop.last %}border-bottom: 1px solid #e6e6e5;{% endif %}">
<tr {% if not forloop.last %}style="border-bottom: 1px solid #eaeaea;"{% endif %}> <tr>
<td valign="top" style="width: 110px;"> <td valign="top" style="width: 110px;">
<a href="https://{{ domain }}{{ obj.get_permanent_url }}" class="event_image"> <a href="https://{{ domain }}{{ obj.get_permanent_url }}" class="event_image">
{# {% thumbnail obj.get_logo '100x100' as im %}#} {# {% thumbnail obj.get_logo '100x100' as im %}#}
@ -287,34 +285,46 @@
</a> </a>
</td> </td>
<td style="padding-left: 20px; width: 470px;"> <td style="padding-left: 20px; width: 470px;">
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
{% if forloop.first %} {% if forloop.first %}
<td class="color3" style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px;"> <td style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px; color: #99cc66;">
{% if obj.get_event_place_name %} {% if obj.get_event_place_name %}
<img src="cid:m3" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table cellpadding="0" cellspacing="0" border="0">
{{ obj.get_event_place_name }} <tr>
<td style="padding-right: 7px;"><img src="cid:m3" alt=""></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %} {% endif %}
</td> </td>
{% elif forloop.counter == 2 %} {% elif forloop.counter == 2 %}
<td class="color2" style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px;"> <td style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px; color: #cc3399;">
{% if obj.get_event_place_name %} {% if obj.get_event_place_name %}
<img src="cid:m2" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table cellpadding="0" cellspacing="0" border="0">
{{ obj.get_event_place_name }} <tr>
<td style="padding-right: 7px;"><img src="cid:m2" alt=""></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %} {% endif %}
</td> </td>
{% elif forloop.counter == 3 %} {% elif forloop.counter == 3 %}
<td class="color1" style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px;"> <td style="font-size: 13px; text-transform: uppercase; padding-bottom: 5px; color: #33ccff;">
{% if obj.get_event_place_name %} {% if obj.get_event_place_name %}
<img src="cid:m1" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table cellpadding="0" cellspacing="0" border="0">
{{ obj.get_event_place_name }} <tr>
<td style="padding-right: 7px;"><img src="cid:m1" alt=""></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %} {% endif %}
</td> </td>
{% endif %} {% endif %}
</tr> </tr>
<tr> <tr>
<td style="padding-bottom: 5px;"><a href="https://{{ domain }}{{ obj.get_permanent_url }}" class="event_title">{{ obj.name|safe }}</a></td> <td style="padding-bottom: 5px;"><a href="https://{{ domain }}{{ obj.get_permanent_url }}" class="event_title" style="font-family: Arial,sans-serif; font-size: 17px; line-height: 21px; font-weight: bold; text-transform: uppercase; color: #333333; text-decoration: none;">{{ obj.name|safe }}</a></td>
</tr> </tr>
<tr> <tr>
@ -323,8 +333,12 @@
<tr> <tr>
<td style="color: #3399cc; font-size: 14px; padding-bottom: 3px;"> <td style="color: #3399cc; font-size: 14px; padding-bottom: 3px;">
<img src="cid:calendar" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table cellspacing="0" cellpadding="0" border="0">
{{ obj.get_dates_v2 }} <tr>
<td style="padding-right: 14px;"><img src="cid:calendar" alt=""></td>
<td>{{ obj.get_dates_v2 }}</td>
</tr>
</table>
</td> </td>
</tr> </tr>
@ -340,7 +354,7 @@
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td align="center" style="padding-top: 25px;"> <td align="center" style="padding-top: 25px;">
<a href="http://{{ domain }}{% url 'events:main' %}?{{ russia_filter_url }}" style="display: inline-block; padding: 8px 23px 7px 29px; border: 1px solid #ff6600; color: #ffffff; background-color: #ff6600; text-decoration: none; text-transform: uppercase; font-size: 12px; line-height: 12px; border-radius: 5px;">{% trans "все события" %}<img src="cid:white_arrow" alt=""></a> <a href="http://{{ domain }}{% url 'events:main' %}?{{ russia_filter_url }}" style="display: inline-block; padding: 8px 23px 7px 29px; border: 1px solid #ff6600; color: #ffffff; background-color: #ff6600; text-decoration: none; text-transform: uppercase; font-size: 12px; line-height: 12px; border-radius: 5px;">{% trans "все события" %}<img src="cid:white_arrow" alt=""></a>
@ -360,53 +374,57 @@
{% if foreign %} {% if foreign %}
<!-- foreign --> <!-- foreign -->
<table border="0" cellspacing="0" style="width:100%; background-color: #fff; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%; background-color: #fff; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;">
<tr> <tr>
<td> <td>
<table style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td align="center" style="padding-top: 45px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 25px; color: #333333; text-transform: uppercase; font-weight: bold;">{% trans "За рубежом" %}</td> <td align="center" style="padding-top: 45px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 25px; color: #333333; text-transform: uppercase; font-weight: bold;">{% trans "За рубежом" %}</td>
</tr> </tr>
<tr> <tr>
<td> <td>
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
{% for sqs_obj in foreign %} {% for sqs_obj in foreign %}
{% with sqs_obj.object as obj %} {% with sqs_obj.object as obj %}
<td valign="top"> <td valign="top">
<table style="width: 130px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 130px; margin: 0 auto;">
<tr> <tr>
<td style="padding-bottom: 15px; text-align: center;"> <td style="padding-bottom: 15px; text-align: center; height: 130px;">
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="foreign_image"> <a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="foreign_image">
{# {% thumbnail obj.get_logo '120x120' as im %}#}
<img src="cid:foreign_{{ sqs_obj.object.event_type }}_{{ sqs_obj.object.pk }}"/> <img src="cid:foreign_{{ sqs_obj.object.event_type }}_{{ sqs_obj.object.pk }}"/>
{# {% endthumbnail %}#}
</a> </a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="color{{ forloop.counter }}" style="font-family: Arial, sans-serif; font-size: 13px; text-transform: uppercase; padding-bottom: 12px;"> <td style="font-family: Arial, sans-serif; font-size: 13px; text-transform: uppercase; padding-bottom: 12px; {% if forloop.first %}color: #33ccff; {% elif forloop.counter == 2 %}color: #cc3399; {% elif forloop.counter == 3 %}color: #99cc66;{% elif forloop.counter == 4 %}color: #ff6600;{% endif %}">
{% if obj.get_event_place_name %} {% if obj.get_event_place_name %}
<img src="cid:m{{ forloop.counter }}" alt="" style="display: inline-block; margin-top: -2px; vertical-align: middle; margin-right: 4px;"> <table border="0" cellpadding="0" cellspacing="0">
{{ obj.get_event_place_name }} <tr>
<td style="padding-right: 5px;"><img src="cid:m{{ forloop.counter }}" alt=""></td>
<td>{{ obj.get_event_place_name }}</td>
</tr>
</table>
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="padding-bottom: 10px;"><a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_title">{{ obj.name|safe }}</a></td> <td style="padding-bottom: 10px;"><a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="event_title" style="font-family: Arial,sans-serif; font-size: 17px; line-height: 21px; font-weight: bold; text-transform: uppercase; color: #333333; text-decoration: none;">{{ obj.name|safe }}</a></td>
</tr> </tr>
<tr> <tr>
<td style="color: #3399cc; font-size: 13px; line-height: 14px; padding-bottom: 5px;"> <td style="color: #3399cc; font-size: 13px; line-height: 14px; padding-bottom: 5px;">
<img src="cid:calendar" alt="" style="display: inline-block; vertical-align: middle; margin-top: -2px; margin-right: 4px;"> <table border="0" cellpadding="0" cellspacing="0">
{{ obj.get_dates_v2 }} <tr>
<td style="padding-right: 7px;"><img src="cid:calendar" alt=""></td>
<td>{{ obj.get_dates_v2 }}</td>
</tr>
</table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="font-size: 13px; color: #999999;"> <td style="font-size: 13px; color: #999999;">
{% for tag in obj.tags %} {% for tag in obj.tags %}<a href="http://{{ domain }}{{ obj.catalog }}tag/{{ tag.url }}" class="tag" style="font-size: 13px; color: #999999; text-decoration: none;">{{ tag.name }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
<a href="http://{{ domain }}{{ obj.catalog }}tag/{{ tag.url }}" class="tag">{{ tag.name }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</td> </td>
</tr> </tr>
</table> </table>
@ -431,36 +449,36 @@
{# -------------- БАНЕР --------------- #} {# -------------- БАНЕР --------------- #}
{% if newsletter.banner %} {% if newsletter.banner %}
{# {% thumbnail newsletter.banner '129x600' as im %}#}
<img src="cid:inside_image" alt=""> <img src="cid:inside_image" alt="">
{# {% endthumbnail %}#}
{% endif %} {% endif %}
{% if news %} {% if news %}
<!-- Новости событий --> <!-- Новости событий -->
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr> <tr>
<td> <td>
<table style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td colspan="2" align="center" style="padding-top: 40px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; text-transform: uppercase; color: #333333">{% trans "Новости событий" %}</td> <td colspan="2" align="center" style="padding-top: 40px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; text-transform: uppercase; color: #333333">{% trans "Новости событий" %}</td>
</tr> </tr>
<tr> <tr>
<td style="width: 300px; text-align: center; padding-bottom: 30px;" valign="top"> <td style="width: 300px; text-align: center; padding-bottom: 30px;" valign="top">
{# {% thumbnail news.logo "272" as im %}#}
<a href="http://{{ domain }}{{ news.get_permanent_url }}"><img src="cid:news{{ news.pk }}" alt=""></a> <a href="http://{{ domain }}{{ news.get_permanent_url }}"><img src="cid:news{{ news.pk }}" alt=""></a>
{# {% endthumbnail %}#}
</td> </td>
<td valign="top" style="padding-right: 15px;"> <td valign="top" style="padding-right: 15px;">
<table> <table cellspacing="0" cellpadding="0" border="0">
<tr> <tr>
<td style="padding-bottom: 8px;"><a href="http://{{ domain }}{{ news.get_permanent_url }}" class="event_title">{{ news.main_title|safe }}</a></td> <td style="padding-bottom: 8px;"><a href="http://{{ domain }}{{ news.get_permanent_url }}" style="font-family: Arial,sans-serif; font-size: 17px; line-height: 21px; font-weight: bold; text-transform: uppercase; color: #333333; text-decoration: none;">{{ news.main_title|safe }}</a></td>
</tr> </tr>
<tr> <tr>
<td valign="middle" style="color: #3399cc; font-size: 17px; padding-bottom: 8px;"> <td style="color: #3399cc; font-size: 17px; padding-bottom: 8px;">
<img src="cid:calendar" alt="" style="margin-right: 4px;"> <table border="0" cellpadding="0" cellspacing="0">
{{ news.publish_date|date:"d E Y" }} <tr>
<td style="padding-right: 8px;"><img src="cid:calendar" alt=""></td>
<td>{{ news.publish_date|date:"d E Y" }}</td>
</tr>
</table>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -478,36 +496,27 @@
</td> </td>
</tr> </tr>
</table> </table>
{% endif %}
<hr style="width: 565px; margin: 0 auto; background-color: #e6e6e5; height: 1px; border: 0;"> <hr style="width: 565px; margin: 0 auto; background-color: #e6e6e5; height: 1px; border: 0;">
{% endif %}
{% if blog %} {% if blog %}
<!-- Новенькое из блога --> <!-- Новенькое из блога -->
<table style="width: 100%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
{% comment %}
<tr>
<td align="center" style="padding-top: 30px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; text-transform: uppercase; color: #333333">{% trans "Новенькое из блога" %}</td>
</tr>
{% endcomment %}
<tr> <tr>
<td style="padding-bottom: 40px;"> <td style="padding-bottom: 40px;">
<table style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td colspan="2" align="center" style="padding-top: 30px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; text-transform: uppercase; color: #333333">{% trans "Новенькое из блога" %}</td> <td colspan="2" align="center" style="padding-top: 30px; padding-bottom: 30px; font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; text-transform: uppercase; color: #333333">{% trans "Новенькое из блога" %}</td>
</tr> </tr>
<tr> <tr>
<td style="width: 300px; text-align: center; padding-bottom: 40px;" valign="top"> <td style="width: 300px; text-align: center; padding-bottom: 40px;" valign="top">
{# {% thumbnail blog.logo "272" as im %}#}
<a href="http://{{ domain }}{{ blog.get_permanent_url }}"><img src="cid:blog{{ blog.pk }}" alt=""></a> <a href="http://{{ domain }}{{ blog.get_permanent_url }}"><img src="cid:blog{{ blog.pk }}" alt=""></a>
{# {% endthumbnail %}#}
</td> </td>
<td valign="top" style="padding-right: 15px;"> <td valign="top" style="padding-right: 15px;">
<table> <table cellspacing="0" cellpadding="0" border="0">
<tr> <tr>
<td style="padding-bottom: 15px;" valign="top"><a href="http://{{ domain }}{{ blog.get_permanent_url }}" class="event_title">{{ blog.main_title|safe }}</a></td> <td style="padding-bottom: 15px;" valign="top"><a href="http://{{ domain }}{{ blog.get_permanent_url }}" style="font-family: Arial,sans-serif; font-size: 17px; line-height: 21px; font-weight: bold; text-transform: uppercase; color: #333333; text-decoration: none;">{{ blog.main_title|safe }}</a></td>
</tr> </tr>
<tr> <tr>
@ -530,10 +539,10 @@
<!-- Ссылки на соцсети --> <!-- Ссылки на соцсети -->
<table width="100%" style="background-color: #ffffff; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;"> <table cellspacing="0" cellpadding="0" border="0" width="100%" style="background-color: #ffffff; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;">
<tr> <tr>
<td> <td>
<table border="0" cellpadding="0" style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td align="center" style="width: 240px; font-family: Arial, sans-serif; font-size: 17px; font-weight: bold; color: #333333; text-transform: uppercase;">{% trans "Следуйте за нами" %}: <td align="center" style="width: 240px; font-family: Arial, sans-serif; font-size: 17px; font-weight: bold; color: #333333; text-transform: uppercase;">{% trans "Следуйте за нами" %}:
</td> </td>
@ -554,7 +563,7 @@
<!-- Управление подпиской --> <!-- Управление подпиской -->
<table width="600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" width="600px; margin: 0 auto;">
<tr> <tr>
<td align="center" style="text-align: center; font-family: Arial, sans-serif; color: #333333; font-size: 17px; font-weight: bold; text-transform: uppercase; padding-top: 35px; padding-bottom: 20px;">{% trans "Управление подпиской:" %}</td> <td align="center" style="text-align: center; font-family: Arial, sans-serif; color: #333333; font-size: 17px; font-weight: bold; text-transform: uppercase; padding-top: 35px; padding-bottom: 20px;">{% trans "Управление подпиской:" %}</td>
</tr> </tr>
@ -572,13 +581,13 @@
<!-- Thanks --> <!-- Thanks -->
<table style="width: 100%; background-color: #ffffff;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; background-color: #ffffff;">
<tr> <tr>
<td style="padding-top: 26px; padding-bottom: 26px; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3"> <td style="padding-top: 26px; padding-bottom: 26px; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3">
<table style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td align="center" style="width: 50%; border-right: 1px solid #ff6900;"> <td align="center" style="width: 50%; border-right: 1px solid #ff6900;">
<table> <table cellspacing="0" cellpadding="0" border="0">
<tr> <tr>
<td style="padding-bottom: 26px;"><img src="cid:site_logo" alt=""></td> <td style="padding-bottom: 26px;"><img src="cid:site_logo" alt=""></td>
</tr> </tr>
@ -590,7 +599,7 @@
</td> </td>
<td style="padding-left: 20px; padding-right: 20px;"> <td style="padding-left: 20px; padding-right: 20px;">
<table> <table cellspacing="0" cellpadding="0" border="0">
<tr> <tr>
<td style="font-family: Arial, sans-serif; color: #333333; font-size: 14px; line-height: 1.5; padding-top: 10px;"> <td style="font-family: Arial, sans-serif; color: #333333; font-size: 14px; line-height: 1.5; padding-top: 10px;">
{% trans "Поисковик деловых событий" %} <br> {% trans "Поисковик деловых событий" %} <br>
@ -602,7 +611,8 @@
<tr> <tr>
<td style="font-family: Arial, sans-serif; color: #333333; font-size: 14px; line-height: 1.5; padding-bottom: 10px;"> <td style="font-family: Arial, sans-serif; color: #333333; font-size: 14px; line-height: 1.5; padding-bottom: 10px;">
{% trans "По вопросам участия в выставках звоните" %}: <br> {% trans "По вопросам участия в выставках звоните" %}: <br>
+7 (499) 999 -12-07 {# +7&nbsp;&#040;499&#041;&nbsp;999&#045;12&#045;07#}
<a href="tel:%2B7%C2%A0%28499%29%C2%A0999-12-07" value="+74999991207" target="_blank" style="color: #333333; font-size: 14px; line-height: 1.5; text-decoration: none;">+7&nbsp;(499)&nbsp;999-12-07</a>
</td> </td>
</tr> </tr>
</table> </table>
@ -615,10 +625,10 @@
<!-- Menu --> <!-- Menu -->
<table style="width: 100%; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; border-top: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;">
<tr> <tr>
<td style="font-size: 15px;color: #666666;"> <td style="font-size: 15px;color: #666666;">
<table style="width: 600px; margin: 0 auto;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px; margin: 0 auto;">
<tr> <tr>
<td style="padding-top: 15px; padding-bottom: 15px; padding-left: 15px;" align="center"><a href="http://{{ domain }}/expo/" style="font-size: 15px;color: #666666; text-decoration: none;">{% trans "Выставки" %}</a></td> <td style="padding-top: 15px; padding-bottom: 15px; padding-left: 15px;" align="center"><a href="http://{{ domain }}/expo/" style="font-size: 15px;color: #666666; text-decoration: none;">{% trans "Выставки" %}</a></td>
<td>/</td> <td>/</td>
@ -637,7 +647,7 @@
<!-- footer --> <!-- footer -->
<table style="width: 100%; background-color: #ffffff; border-top: 1px solid #f3f3f3;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; background-color: #ffffff; border-top: 1px solid #f3f3f3;">
<tr> <tr>
<td style="padding-top: 35px; padding-left: 20px; padding-right: 20px; font-family: Arial, sans-serif; font-size: 13px; color: #999999; padding-bottom: 7px;" align="center">{% trans "Вы получили это письмо, так как подписаны на рассылку" %} <a href="#" style="color: #ff6600;">https://www.expomap.ru</a></td> <td style="padding-top: 35px; padding-left: 20px; padding-right: 20px; font-family: Arial, sans-serif; font-size: 13px; color: #999999; padding-bottom: 7px;" align="center">{% trans "Вы получили это письмо, так как подписаны на рассылку" %} <a href="#" style="color: #ff6600;">https://www.expomap.ru</a></td>
</tr> </tr>
@ -649,15 +659,7 @@
</tr> </tr>
</table> </table>
{% comment %}
</td>
</tr>
</table>
{% endcomment %}
</td> </td>
</tr> </tr>
</table> </table>{% endspaceless %}

@ -13765,10 +13765,14 @@ blockquote{
.top_page_banner{ .top_page_banner{
display: block; display: block;
width: 1200px; max-width: 1200px;
height: 130px; /*height: 130px;*/
margin: 10px auto; margin: 10px auto;
background-color: #00A6C7; /*background-color: #00A6C7;*/
}
.top_page_banner img {
max-width: 100%;
height: auto;
} }
.conference_interested{ .conference_interested{
background-color: #fff; background-color: #fff;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save