From 2064cc262c68ad9f7dacab86b3c3cb133f4a967a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 14 Mar 2018 11:52:29 -0500 Subject: no credit on vertical clusters --- design/templates/lib/img_cluster.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'design/templates/lib') diff --git a/design/templates/lib/img_cluster.html b/design/templates/lib/img_cluster.html index 915e511..fd43a17 100644 --- a/design/templates/lib/img_cluster.html +++ b/design/templates/lib/img_cluster.html @@ -1,8 +1,8 @@ {% load get_image_by_size %} -{% if caption or exif %} +{% if caption or exif or image.photo_credit_source and cluster_class != "pic5" %}
{%endif%} {%if image.alt %}{{image.alt}}{%else%}{{image.title}}{%endif%} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} -{% if caption or exif or image.photo_credit_source %}
{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}{% endif %}{% if image.photo_credit_source %} | image by {% if image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source %}
+{% if caption or exif or image.photo_credit_source and cluster_class != "pic5" %}
{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}{% endif %}{% if image.photo_credit_source %} | image by {% if image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source and cluster_class != "pic5" %}
{% endif %} -- cgit v1.2.3