From 9c896213c4c73d1c485c7e3b49ca50d48d938169 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 28 Jan 2012 18:35:50 +0530 Subject: [PATCH] some spacing, if statements for erang templates --- itf/templates/emailer/email.html | 15 ++++++++------- itf/templates/modules/emailer/emailerissue.html | 3 ++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/itf/templates/emailer/email.html b/itf/templates/emailer/email.html index 2caae36..8c71127 100755 --- a/itf/templates/emailer/email.html +++ b/itf/templates/emailer/email.html @@ -60,7 +60,8 @@ - + +

{{ article.title }}

by: {{ article.author }}

{% if article.author %}

by: {{ article.author }}

{% endif %}
@@ -79,7 +80,7 @@ - +

{{ article.text|insert_images:article.id|markdown }}

@@ -95,8 +96,8 @@

WEB LINKS

{% for weblink in weblinks %} -

{{ weblink.title }}

-
{{ weblink.text|markdown }}
+

{{ weblink.title }}

+
{{ weblink.text|markdown }}
{% endfor %} @@ -108,8 +109,8 @@

BULLETIN BOARD

{% for bbitem in bbitems %} -

{{ bbitem.title }}

-
{{ bbitem.text|markdown }}
+

{{ bbitem.title }}

+
{{ bbitem.text|markdown }}
{% endfor %} @@ -128,7 +129,7 @@

A fortnightly theatre e-journal from the India Theatre Forum
Co-Editors: Vikram Iyengar, Joyoti Roy

Views expressed in the articles in e-Rang are personal.
e-Rang does not hold copyright of any piece.
Any enquiry for re-use of articles should be addressed to the authors.

-

Contribute your articles to e-Rang and become part of this theatre community! Email us at erang@theatreforum.in to know more about how to contribute.

+

Contribute your articles to e-Rang and become part of this theatre community! Email us at erang@theatreforum.in to know more about how to contribute.

The India Theatre Forum (ITF), a Prithvi Theatre initiative, was formed in 2006 as a loose association of theatre people coming together in the larger interests of theatre. For more on the ITF, please visit www.theatreforum.in. The ITF is currently supported by HIVOS.

diff --git a/itf/templates/modules/emailer/emailerissue.html b/itf/templates/modules/emailer/emailerissue.html index 1cdde39..5adc952 100755 --- a/itf/templates/modules/emailer/emailerissue.html +++ b/itf/templates/modules/emailer/emailerissue.html @@ -56,8 +56,9 @@
{% for article in articles %}
{{ article.title }}
+ {% if article.author %} - + {% endif %}
{% if article.main_image %}