|
|
|
|
@ -384,55 +384,59 @@ |
|
|
|
|
|
|
|
|
|
<tr> |
|
|
|
|
<td> |
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> |
|
|
|
|
<tr> |
|
|
|
|
{# <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">#} |
|
|
|
|
{# <tr>#} |
|
|
|
|
{% for sqs_obj in foreign %} |
|
|
|
|
{% with sqs_obj.object as obj %} |
|
|
|
|
<td valign="top"> |
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0" style="width: 130px; margin: 0 auto;"> |
|
|
|
|
<tr> |
|
|
|
|
<td style="padding-bottom: 15px; text-align: center; height: 130px;"> |
|
|
|
|
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="foreign_image"> |
|
|
|
|
<img src="cid:foreign_{{ sqs_obj.object.event_type }}_{{ sqs_obj.object.pk }}"/> |
|
|
|
|
</a> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<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 %} |
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td style="padding-right: 5px;"><img src="cid:m{{ forloop.counter }}" alt=""></td> |
|
|
|
|
<td>{{ obj.get_event_place_name }}</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
{% endif %} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
{# <td valign="top">#} |
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0" {% if not forloop.first %}style="padding-top: 20px; border-top: 1px solid #eaeaea;"{% endif %}> |
|
|
|
|
<tr> |
|
|
|
|
<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> |
|
|
|
|
<td style="color: #3399cc; font-size: 13px; line-height: 14px; padding-bottom: 5px;"> |
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td style="padding-right: 7px;"><img src="cid:calendar" alt=""></td> |
|
|
|
|
<td>{{ obj.get_dates_v2 }}</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td style="font-size: 13px; color: #999999;"> |
|
|
|
|
{% 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 %} |
|
|
|
|
</td> |
|
|
|
|
<td valign="top" style="padding-bottom: 15px; text-align: center; width: 130px;"> |
|
|
|
|
<a href="http://{{ domain }}{{ obj.get_permanent_url }}" class="foreign_image"> |
|
|
|
|
<img src="cid:foreign_{{ sqs_obj.object.event_type }}_{{ sqs_obj.object.pk }}"/> |
|
|
|
|
</a> |
|
|
|
|
</td> |
|
|
|
|
<td style="padding-left: 20px; width: 450px;"> |
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0"> |
|
|
|
|
<tr> |
|
|
|
|
<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 %} |
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td style="padding-right: 5px;"><img src="cid:m{{ forloop.counter }}" alt=""></td> |
|
|
|
|
<td>{{ obj.get_event_place_name }}</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
{% endif %} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<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> |
|
|
|
|
<td style="color: #3399cc; font-size: 13px; line-height: 14px; padding-bottom: 5px;"> |
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"> |
|
|
|
|
<tr> |
|
|
|
|
<td style="padding-right: 7px;"><img src="cid:calendar" alt=""></td> |
|
|
|
|
<td>{{ obj.get_dates_v2 }}</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td style="font-size: 13px; color: #999999;"> |
|
|
|
|
{% 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 %} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</td> |
|
|
|
|
{# </td>#} |
|
|
|
|
{% endwith %} |
|
|
|
|
{% endfor %} |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
{# </tr>#} |
|
|
|
|
{# </table>#} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
|