1f75c18e36ca3eeefdb497704f04e5392b85a097
[wolnelektury.git] / src / social / templates / social / cite_info.html
1 {% spaceless %}
2   {% if cite.image %}
3     {% if cite.image_link %}<a href="{{ cite.image_link }}">{% endif %}
4     {% if cite.image_title %}
5       {{ cite.image_title }}{% else %}
6       untitled{% endif %}{% if cite.image_link %}</a>{% endif %}{% if cite.image_author %},
7       {{ cite.image_author }}{% endif %}{% if cite.image_license %},
8       {% if cite.image_license_link %}<a href="{{ cite.image_license_link }}">{% endif %}
9       {{ cite.image_license }}
10       {% if cite.image_license_link %}</a>{% endif %}
11     {% 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 {% endspaceless %}