From 5e6fa5abd28dfc174dcdcc32848aafc09c654552 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 16 Feb 2012 16:37:53 +0530 Subject: [PATCH] weblinks / bbitems conditionals --- itf/templates/modules/emailer/emailerissue.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/itf/templates/modules/emailer/emailerissue.html b/itf/templates/modules/emailer/emailerissue.html index 273cabf..e953e60 100755 --- a/itf/templates/modules/emailer/emailerissue.html +++ b/itf/templates/modules/emailer/emailerissue.html @@ -32,7 +32,7 @@
- +{% if weblinks %}

WEB LINKS

{% for weblink in weblinks %} @@ -40,7 +40,8 @@ {% endfor %}

More »

- +{% endif %} +{% if bbitems %}

BULLETIN BOARD

{% for bbitem in bbitems %} @@ -48,7 +49,7 @@ {% endfor %}

More »

- +{% endif %}
@@ -73,7 +74,7 @@
{{ article.author_bio|markdown }}
{% endfor %} - +{% if weblinks %} - +{% endif %} +{% if bbitems %} - +{% endif %}