Skip to content

Commit 633cc15

Browse files
committed
Conditional anchor updated for 0 Delta URLs
1 parent 6651bae commit 633cc15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sde_indexing_helper/templates/sde_collections/collection_list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ <h2 class="title">Welcome back!</h2>
148148

149149
<!-- Delta URLs Column - Shows count and links if > 0 -->
150150
<td class="noBorder centerAlign">
151-
<a href=" {% if collection.num_delta_urls > 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
152-
class="btn btn-sm {% if collection.num_delta_urls > 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
151+
<a href=" {% if collection.num_delta_urls >= 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
152+
class="btn btn-sm {% if collection.num_delta_urls >= 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
153153
role="button">{{ collection.num_delta_urls|intcomma }}</a>
154154
</td>
155155

0 commit comments

Comments
 (0)