Make custom PDF task clean up after itself.
[wolnelektury.git] / apps / social / templates / social / cite_info.html
1 {% spaceless %}
2
3 {% if cite.image %}
4     {% if cite.image_link %}<a href="{{ cite.image_link }}">{% endif %}
5     {% if cite.image_title %}
6         {{ cite.image_title }}{% else %}
7         untitled{% endif %}{% if cite.image_link %}</a>{% endif %},
8     {% if cite.image_author %}{{ cite.image_author }},{% endif %}
9     {% if cite.image_license_link %}<a href="{{ cite.image_license_link }}">{% endif %}
10     {{ cite.image_license }}
11     {% if cite.image_license_link %}</a>{% endif %}
12 {% else %}
13     <a href="http://www.flickr.com/photos/lou/430980641/">books about architecture</a>,
14     saikofish@Flickr,
15     <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY NC SA</a>.
16 {% endif %}
17
18 {% endspaceless %}