Skip to content

Commit e632d74

Browse files
committed
Curated URL button CSS condition
1 parent 9635cf3 commit e632d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sde_indexing_helper/templates/sde_collections/collection_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h2 class="title">Welcome back!</h2>
160160
<!-- Curated URLs Column - Shows count and links if >= 0 -->
161161
<td class="noBorder centerAlign">
162162
<a href=" {% if collection.num_curated_urls >= 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
163-
class="btn btn-sm {% if collection.num_curated_urls > 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
163+
class="btn btn-sm {% if collection.num_curated_urls >= 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
164164
role="button">{{ collection.num_curated_urls|intcomma }}</a>
165165
</td>
166166

0 commit comments

Comments
 (0)