Skip to content

Commit 317e016

Browse files
authored
Remove added comment that made review comparisons always show up (#4550)
It looks like in commit fdec894, a comment was added on the if condition of reviewer version changes that makes it so the warning "review was against not most recent version" always shows up, with a comparison link that may sometimes 500. This undoes that comment.
1 parent 60df340 commit 317e016

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

hypha/apply/review/templates/review/review_detail.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ <h5>{% trans "Score" %}</h5>
6161
</a>
6262
{% endif %}
6363
</div>
64-
{% comment %} {% if not review.for_latest %} {% endcomment %}
65-
<div class="text-end">
66-
<p class="text-xs">
67-
* {% trans "Review was not against the latest version" %}<br>
68-
</p>
69-
<a class="button button--primary" href="{{ review.get_compare_url }}">{% trans "Compare" %}</a>
70-
</div>
71-
{% comment %} {% endif %} {% endcomment %}
64+
{% if not review.for_latest %}
65+
<div class="text-end">
66+
<p class="text-xs">
67+
* {% trans "Review was not against the latest version" %}<br>
68+
</p>
69+
<a class="button button--primary" href="{{ review.get_compare_url }}">{% trans "Compare" %}</a>
70+
</div>
71+
{% endif %}
7272
</div>
7373

7474
</div>

0 commit comments

Comments
 (0)