Skip to content

Commit 2ffb5c2

Browse files
committed
update collection html to display delta url count
1 parent 6fba669 commit 2ffb5c2

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

sde_indexing_helper/templates/sde_collections/collection_list.html

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ <h2 class="title">Welcome back!</h2>
1616
<thead class="tableHeader">
1717
<tr>
1818
<th class="text-center noBorder" style="padding-right:25px !important">Name</th>
19-
<th class="text-center noBorder url-th" style="padding-right:25px !important">URL</th>
19+
<th class="text-center noBorder url-th" style="padding-right:25px !important">Url</th>
2020
<th class="text-center noBorder" style="padding-right:25px !important">Division</th>
21-
<th class="text-center noBorder" style="padding-right:25px !important">Candidate URLs</th>
22-
<!--delta url column <th class="text-center noBorder" style="padding-right:25px !important">Delta URLs</th> -->
23-
<!--delta url column <th class="text-center noBorder" style="padding-right:25px !important">Curated URLs</th> -->
21+
<th class="text-center noBorder" style="padding-right:25px !important">Delta Urls</th>
2422
<th class="text-center noBorder" style="padding-right:25px !important">Workflow Status</th>
2523
<th class="text-center noBorder" style="padding-right:25px !important">Curator</th>
2624
<th class="text-center noBorder" style="padding-right:25px !important">Connector Type</th>
@@ -32,7 +30,6 @@ <h2 class="title">Welcome back!</h2>
3230
<td class="filterRowBottom" ><input class="table_filter_row_input textBoxStyling" type="text" id="nameFilter" placeholder="Name" /></td>
3331
<td class="filterRowBottom url-td"><input class="table_filter_row_input textBoxStyling" type="text" id="urlFilter" placeholder="URL" /></td>
3432
<td class="filterRowBottom"><input class="table_filter_row_input textBoxStyling" type="text" id="divisionFilter" placeholder="Division" /></td>
35-
<!--delta url column <td class="filterRowBottom"></td> -->
3633
<td class="filterRowBottom"></td>
3734
<td class="filterRowBottom"><select id="collection-dropdown-4" class="select-dropdown selectStyling">
3835
<option value="">SELECT</option>
@@ -71,20 +68,10 @@ <h2 class="title">Welcome back!</h2>
7168
</td>
7269
<td class="whiteText noBorder">{{ collection.get_division_display }}</td>
7370
<td class="noBorder centerAlign">
74-
<a href=" {% if collection.num_candidate_urls > 0 %} {% url 'sde_collections:candidate_urls' collection.pk %} {% endif %} "
75-
class="btn btn-sm {% if collection.num_candidate_urls > 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
76-
role="button">{{ collection.num_candidate_urls|intcomma }}</a>
71+
<a href=" {% if collection.num_delta_urls > 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
72+
class="btn btn-sm {% if collection.num_delta_urls > 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
73+
role="button">{{ collection.num_delta_urls|intcomma }}</a>
7774
</td>
78-
<!--delta url column <td class="noBorder centerAlign">
79-
<a href=" {% if collection.delta_urls_count > 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
80-
class="btn btn-sm {% if collection.delta_urls_count > 0 %}btn-primary {% else %}disabled{% endif %}deltaCount"
81-
role="button">{{ collection.delta_urls_count|intcomma }}</a>
82-
</td>
83-
<td class="noBorder centerAlign">
84-
<a href=" {% if collection.included_curated_urls_count > 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
85-
class="btn btn-sm {% if collection.included_curated_urls_count > 0 %}btn-primary {% else %}disabled{% endif %}curatedCount"
86-
role="button">{{ collection.included_curated_urls_count|intcomma }}</a>
87-
</td> -->
8875
<td class="noBorder">
8976
<div class="dropdown workflow_status_dropdown"
9077
data-match-pattern

0 commit comments

Comments
 (0)