use template tag on module template as well

This commit is contained in:
Sanj 2012-01-18 16:53:39 +05:30
parent 8cfe7ff6f8
commit 4603513bad

View File

@ -1,5 +1,6 @@
{% load markup %} {% load markup %}
{% load thumbnail %} {% load thumbnail %}
{% load emailer %}
<div id="wrapperEmailer"> <div id="wrapperEmailer">
<link rel="stylesheet" href="/static/css/modules/emailer.css" type="text/css" /> <link rel="stylesheet" href="/static/css/modules/emailer.css" type="text/css" />
@ -67,7 +68,7 @@
</div><!-- ARTICLE IMAGE CLOSING --> </div><!-- ARTICLE IMAGE CLOSING -->
{% endif %} {% endif %}
<div class="articleCaption">{{ article.subtitle }}</div><!-- ARTICLE CAPTION CLOSING --> <div class="articleCaption">{{ article.subtitle }}</div><!-- ARTICLE CAPTION CLOSING -->
<div class="articleText">{{ article.text|markdown }}</div> <div class="articleText">{{ article.text|insert_images:article.id|markdown }}</div>
<div class="authorBio">{{ article.author_bio|markdown }}</div> <div class="authorBio">{{ article.author_bio|markdown }}</div>
{% endfor %} {% endfor %}
</div><!-- ARTICLE EMAILER CLOSING --> </div><!-- ARTICLE EMAILER CLOSING -->