remotes/origin/stage6
Alexander Burdeinyi 9 years ago
parent 67ceca0336
commit 0266fd9147
  1. 5
      emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html
  2. 4
      settings/templatetags/template_filters.py

@ -1,4 +1,5 @@
{% load i18n %}{% spaceless %}
{% load i18n %}
{% load tempalte_tags %}{% spaceless %}
<style type="text/css" media="screen">
body{height:100%!important;margin:0;padding:0;width:100%!important;}
@ -422,7 +423,7 @@
</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 %}
{% 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|strip }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
</td>
</tr>
</table>

@ -349,3 +349,7 @@ def join_lookup(value):
if isinstance(value, (str, unicode, int, long)):
return value
return getattr(value, 'pk', '')
@register.filter
def strip(value):
return value.strip()
Loading…
Cancel
Save