summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/details/bird.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/design/templates/details/bird.html b/design/templates/details/bird.html
index 9676683..070a921 100644
--- a/design/templates/details/bird.html
+++ b/design/templates/details/bird.html
@@ -9,11 +9,15 @@
<main>
<article>
<h1>{{object.common_name}}</h1>
+<h2 class="sci">{{object.scientific_name}}</h2>
+<h3 class="sci">Class {{object.bird_class.scientific_name}} ({{object.bird_class}})</h3>
<p id="endnode">Seen by {% for person in sighting.seen_by.all %}<a href="/birds/{{person}}/">{{person}}</a>{%if forloop.last %}{%else%}{% if forloop.revcounter == 2 %}, and {%else%}, {%endif%}{%endif%}{%endfor%}</p>
-
+{% if recording.audio %}
<audio autoplay="autoplay" controls="controls">
<source src="/media/{{recording.audio}}" />
</audio>
+<small>Audio recorded by {{recording.recorder}} on {{recording.pub_date|date:"F j, Y"}} in {{recording.location}}. <a href="{{recording.link}}">&copy; {{recording.copyright}}</a></small>
+{%endif%}
</article>
</main>
{% endblock %}