Skip to content

Commit

Permalink
Merge pull request #1887 from nbargnesi/screenshot-template
Browse files Browse the repository at this point in the history
don't use deduped shots from screenshot template
  • Loading branch information
doomedraven authored Dec 13, 2023
2 parents 26c8b9b + 44432aa commit fab971a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions web/templates/analysis/overview/_screenshots.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
<section id="screenshots">
<h4>Screenshots</h4>
{% if analysis.deduplicated_shots %}
<div>
{% for shot in analysis.deduplicated_shots %}
<a data-lightbox="screenshot" href="{% url "file_nl" "screenshot" analysis.info.id shot %}">
<img class="opaque" src="{% url "file_nl" "screenshot" analysis.info.id shot %}" style="height: 120px;" />
</a>
{% endfor %}
</div>
{% elif analysis.shots %}
{% if analysis.shots %}
<div>
{% for shot in analysis.shots %}
<a data-lightbox="screenshot" href="{% url "file_nl" "screenshot" analysis.info.id shot %}">
Expand Down

0 comments on commit fab971a

Please sign in to comment.