From 29afff03b510d818f9935571282db670e2e2b8c7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 16 May 2018 18:21:47 -0400 Subject: changed layout of sightings pages --- design/templates/archives/sightings.html | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'design/templates/archives/sightings.html') diff --git a/design/templates/archives/sightings.html b/design/templates/archives/sightings.html index e9d4610..413ec44 100644 --- a/design/templates/archives/sightings.html +++ b/design/templates/archives/sightings.html @@ -18,14 +18,12 @@
{% load get_image_by_size %} -{% load get_image_width %} +{% load get_image_width %}{% if object.ap.image%}
-{{object.image.alt}} photographed by {% if object.image.photo_credit_source %}{{object.image.photo_credit_source}}{%else%}luxagraf{%endif%} + -{% if object.image.photo_credit_source %}
photo by {{object.image.photo_credit_source}}
{%endif%} -
+{%endif%}

{{object.ap|safe|smartypants|widont}} ({{object.ap.scientific_name}})

@@ -38,12 +36,6 @@

-
{% for recording in object.ap.recordings.all %} - - Audio recorded by {{recording.recorder}} on {{recording.pub_date|date:"F j, Y"}} in {{recording.location}}. © {{recording.copyright}} -
{% endfor %}
{% endfor %}