Skip to content

Commit 1dbbdfb

Browse files
committed
added html for delta and curated columns in collection list
1 parent 75cde3b commit 1dbbdfb

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

sde_indexing_helper/templates/sde_collections/collection_list.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ <h2 class="title">Welcome back!</h2>
1818
<th class="text-center noBorder" style="padding-right:25px !important">Name</th>
1919
<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>
21+
<th class="text-center noBorder" style="padding-right:25px !important">Delta URLs</th>
22+
<th class="text-center noBorder" style="padding-right:25px !important">Curated URLs</th>
2223
<th class="text-center noBorder" style="padding-right:25px !important">Workflow Status</th>
2324
<th class="text-center noBorder" style="padding-right:25px !important">Curator</th>
2425
<th class="text-center noBorder" style="padding-right:25px !important">Connector Type</th>
@@ -31,6 +32,7 @@ <h2 class="title">Welcome back!</h2>
3132
<td class="filterRowBottom url-td"><input class="table_filter_row_input textBoxStyling" type="text" id="urlFilter" placeholder="URL" /></td>
3233
<td class="filterRowBottom"><input class="table_filter_row_input textBoxStyling" type="text" id="divisionFilter" placeholder="Division" /></td>
3334
<td class="filterRowBottom"></td>
35+
<td class="filterRowBottom"></td>
3436
<td class="filterRowBottom"><select id="collection-dropdown-4" class="select-dropdown selectStyling">
3537
<option value="">SELECT</option>
3638
{% for choice in workflow_status_choices %}
@@ -68,9 +70,14 @@ <h2 class="title">Welcome back!</h2>
6870
</td>
6971
<td class="whiteText noBorder">{{ collection.get_division_display }}</td>
7072
<td class="noBorder centerAlign">
71-
<a href=" {% if collection.num_candidate_urls > 0 %} {% url 'sde_collections:candidate_urls' collection.pk %} {% endif %} "
72-
class="btn btn-sm {% if collection.num_candidate_urls > 0 %}btn-primary {% else %}disabled{% endif %}candidateCount"
73-
role="button">{{ collection.num_candidate_urls|intcomma }}</a>
73+
<a href=" {% if collection.delta_urls_count > 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
74+
class="btn btn-sm {% if collection.delta_urls_count > 0 %}btn-primary {% else %}disabled{% endif %}deltaCount"
75+
role="button">{{ collection.delta_urls_count|intcomma }}</a>
76+
</td>
77+
<td class="noBorder centerAlign">
78+
<a href=" {% if collection.included_curated_urls_count > 0 %} {% url 'sde_collections:delta_urls' collection.pk %} {% endif %} "
79+
class="btn btn-sm {% if collection.included_curated_urls_count > 0 %}btn-primary {% else %}disabled{% endif %}curatedCount"
80+
role="button">{{ collection.included_curated_urls_count|intcomma }}</a>
7481
</td>
7582
<td class="noBorder">
7683
<div class="dropdown workflow_status_dropdown"

0 commit comments

Comments
 (0)