diff options
author | luxagraf <sng@luxagraf.net> | 2018-02-10 05:45:29 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-02-10 05:45:29 -0600 |
commit | c8380e8ef4d69591b788085d758cce1c20cb2018 (patch) | |
tree | 3496e2dc1b1f4f1d73c419820019969e7054d143 | |
parent | 5a35f6b3cd0c74a46a2e8787b582ec61cbc333d5 (diff) |
changed sighting template to get rid of seen by
-rw-r--r-- | design/templates/details/sighting.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |