From c8380e8ef4d69591b788085d758cce1c20cb2018 Mon Sep 17 00:00:00 2001 From: luxagraf <sng@luxagraf.net> Date: Sat, 10 Feb 2018 05:45:29 -0600 Subject: changed sighting template to get rid of seen by --- design/templates/details/sighting.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'design/templates/details') diff --git a/design/templates/details/sighting.html b/design/templates/details/sighting.html index a9bbef8..de76175 100644 --- a/design/templates/details/sighting.html +++ b/design/templates/details/sighting.html @@ -34,7 +34,7 @@ <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.date|date:"M Y"}} 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%}{%endfor%} </p> +<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%} </article> -- cgit v1.2.3-70-g09d2