File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
templates/sde_collections Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ class Meta:
90
90
"id" ,
91
91
"excluded" ,
92
92
"url" ,
93
+ "to_delete" ,
93
94
"scraped_title" ,
94
95
"generated_title" ,
95
96
"generated_title_id" ,
Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ function initializeDataTable() {
253
253
columns : [
254
254
getURLColumn ( ) ,
255
255
getExcludedColumn ( true_icon , false_icon ) ,
256
+ getDeletedColumn ( true_icon , false_icon ) ,
256
257
getScrapedTitleColumn ( ) ,
257
258
getGeneratedTitleColumn ( ) ,
258
259
getDocumentTypeColumn ( ) ,
@@ -1209,6 +1210,17 @@ function getCuratedURLColumn() {
1209
1210
} ;
1210
1211
}
1211
1212
1213
+ function getDeletedColumn ( true_icon , false_icon ) {
1214
+ return {
1215
+ data : "to_delete" ,
1216
+ width : "10%" ,
1217
+ class : "col-1 text-center" ,
1218
+ render : function ( data , type , row ) {
1219
+ return data === true ? true_icon : false_icon ;
1220
+ } ,
1221
+ } ;
1222
+ }
1223
+
1212
1224
function getScrapedTitleColumn ( ) {
1213
1225
return {
1214
1226
data : "scraped_title" ,
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ <h3 class="whiteText deltaTitle">
74
74
< tr >
75
75
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> URL</ div > </ th >
76
76
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> Exclude</ div > </ th >
77
+ < th class ="text-center col-1 " scope ="col "> < div class ="header-title "> Deleted</ div > </ th >
77
78
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> Scraped Title</ div > </ th >
78
79
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> New Title</ div > </ th >
79
80
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> Document Type</ div > </ th >
@@ -96,6 +97,10 @@ <h3 class="whiteText deltaTitle">
96
97
< option value ="false "> FALSE</ option >
97
98
< option value ="true "> TRUE</ option >
98
99
</ select > </ td >
100
+ < td > < select class ="dropdown-1 select-dropdown selectStyling "> < option value =""> SELECT</ option >
101
+ < option value ="false "> FALSE</ option >
102
+ < option value ="true "> TRUE</ option >
103
+ </ select > </ td >
99
104
< td > < input type ="text " class ="table_filter_row_input textBoxStyling " id ="deltaScrapedTitleFilter " placeholder ="Scraped Title " /> </ td >
100
105
< td > < input type ="text " class ="table_filter_row_input textBoxStyling " id ="deltaNewTitleFilter " placeholder ="New Title " /> </ td >
101
106
< td > < select class ="dropdown-4 select-dropdown selectStyling "> < option value =""> SELECT</ option >
You can’t perform that action at this time.
0 commit comments