diff options
Diffstat (limited to 'design/templates/details/sighting.html')
-rw-r--r-- | design/templates/details/sighting.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/design/templates/details/sighting.html b/design/templates/details/sighting.html index fd060f7..718583f 100644 --- a/design/templates/details/sighting.html +++ b/design/templates/details/sighting.html @@ -26,9 +26,14 @@ <small>Audio recorded by {{recording.recorder}} on {{recording.pub_date|date:"F j, Y"}} in {{recording.location}}. <a href="{{recording.link}}">© {{recording.copyright}}</a></small> </div> {%endif%} -<p id="endnode">Seen at {%for sight in sighting %}{{sight.location}}, {{sight.location.comma_name}} in {{sight.pub_date|date:"M Y"}} {%comment%}by {% for person in sight.seen_by.all %}<a href="{% url 'sightings:list_by_person' person %}">{% if person.username == "luxagraf"%}Scott{%else%}{{person.username|capfirst}}{%endif%}</a>{%if forloop.last %}. {%else%}{% if forloop.revcounter == 2 %}, and {%else%}, {%endif%}{%endif%}{%endfor%}{%endcomment%}{%endfor%} </p> -{% if recording.audio %} -{%endif%} +<div id="endnode"> + <aside id="locations"> + <h5>Seen at</h5> + <ul>{%for sight in sighting %} + <li><a href="{{sight.location.get_absolute_url}}">{{sight.location}}</a>, {{sight.location.comma_name}}, {{sight.pub_date|date:"M Y"}}</li> + {%endfor%}</ul> + </aside> +</div> </article> </main> {% endblock %} |