From 26677493eedb757b54ef0334919b9bc651d2b7fd Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 18 Nov 2012 17:19:33 +0530 Subject: [PATCH] emailer color --- itf/app/forms.py | 1 + itf/templates/emailer/email.html | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/itf/app/forms.py b/itf/app/forms.py index 76767d3..93b94a1 100644 --- a/itf/app/forms.py +++ b/itf/app/forms.py @@ -32,6 +32,7 @@ class ItfForm(forms.ModelForm): super(ItfForm, self).__init__(*args, **kwargs) + class PopupForm(ItfForm): ''' All popup forms inherit from this diff --git a/itf/templates/emailer/email.html b/itf/templates/emailer/email.html index f5d72a5..a884b0c 100755 --- a/itf/templates/emailer/email.html +++ b/itf/templates/emailer/email.html @@ -23,7 +23,7 @@ -

Issue No: {{ issue.issue_no }}    {{ issue.date|date:"F j, Y" }}

+

Issue No: {{ issue.issue_no }}    {{ issue.date|date:"F j, Y" }}

@@ -42,7 +42,7 @@

Web Links

{% for weblink in weblinks %} -

• {{ weblink.box_title|truncatewords:12 }}

+

* {{ weblink.box_title|truncatewords:12 }}

{% endfor %}

More »

@@ -51,7 +51,7 @@

Bulletin Board

{% for bbitem in bbitems %} -

• {{ bbitem.box_title|truncatewords:12 }}

+

* {{ bbitem.box_title|truncatewords:12 }}

{% endfor %}

More »

@@ -64,7 +64,7 @@

{{ article.title }}

- {% if article.author %}

by: {{ article.author }}

{% endif %} + {% if article.author %}

by: {{ article.author }}

{% endif %} @@ -78,17 +78,17 @@ {% endthumbnail %} {% endif %} -

{{ article.subtitle|markdown|removetags:"p" }}

+

{{ article.subtitle|markdown|removetags:"p" }}

- +

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

- + {{ article.author_bio|markdown }} @@ -103,7 +103,7 @@

WEB LINKS

{% for weblink in weblinks %}

{{ weblink.title }}

-
{{ weblink.text|markdown }}
+
{{ weblink.text|markdown }}
{% endfor %} @@ -119,7 +119,7 @@

BULLETIN BOARD

{% for bbitem in bbitems %}

{{ bbitem.title }}

-
{{ bbitem.text|markdown }}
+
{{ bbitem.text|markdown }}
{% endfor %} @@ -134,12 +134,12 @@ -
+

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.

-

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 India Theatre Forum (ITF) 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.