File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
sde_indexing_helper/static/js Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -346,13 +346,13 @@ def workflow_status_button_color(self) -> str:
346
346
@property
347
347
def reindexing_status_button_color (self ) -> str :
348
348
color_choices = {
349
- 1 : "btn-light" , # NOT_NEEDED
350
- 2 : "btn-warning " , # NEEDED
351
- 3 : "btn-secondary " , # FINISHED
352
- 4 : "btn-info" , # READY_FOR_CURATION
353
- 5 : "btn-warning " , # CURATION_IN_PROGRESS
354
- 6 : "btn-primary" , # CURATED
355
- 7 : "btn-success " , # INDEXED_ON_PROD
349
+ 1 : "btn-light" , # REINDEXING_NOT_NEEDED
350
+ 2 : "btn-danger " , # REINDEXING_NEEDED_ON_DEV (matching Ready For Engineering)
351
+ 3 : "btn-info " , # REINDEXING_FINISHED_ON_DEV (matching Indexing Finished on LRM Dev)
352
+ 4 : "btn-info" , # REINDEXING_READY_FOR_CURATION (matching Ready for Curation)
353
+ 5 : "btn-success " , # REINDEXING_CURATION_IN_PROGRESS (matching Curation in Progress)
354
+ 6 : "btn-primary" , # REINDEXING_CURATED (matching Curated)
355
+ 7 : "btn-primary " , # REINDEXING_INDEXED_ON_PROD (matching Prod: Perfect)
356
356
}
357
357
return color_choices [self .reindexing_status ]
358
358
Original file line number Diff line number Diff line change @@ -2221,13 +2221,13 @@ function handleReindexingStatusSelect() {
2221
2221
case "changeReindexingStatus" :
2222
2222
var color_choices = {
2223
2223
1 : "btn-light" , // REINDEXING_NOT_NEEDED
2224
- 2 : "btn-warning " , // REINDEXING_NEEDED_ON_DEV
2225
- 3 : "btn-secondary " , // REINDEXING_FINISHED_ON_DEV
2226
- 4 : "btn-info" , // REINDEXING_READY_FOR_CURATION
2227
- 5 : "btn-warning " , // REINDEXING_CURATION_IN_PROGRESS
2228
- 6 : "btn-primary" , // REINDEXING_CURATED
2229
- 7 : "btn-success " // REINDEXING_INDEXED_ON_PROD
2230
- } ;
2224
+ 2 : "btn-danger " , // REINDEXING_NEEDED_ON_DEV (matching Ready For Engineering)
2225
+ 3 : "btn-info " , // REINDEXING_FINISHED_ON_DEV (matching Indexing Finished on LRM Dev)
2226
+ 4 : "btn-info" , // REINDEXING_READY_FOR_CURATION (matching Ready for Curation)
2227
+ 5 : "btn-success " , // REINDEXING_CURATION_IN_PROGRESS (matching Curation in Progress)
2228
+ 6 : "btn-primary" , // REINDEXING_CURATED (matching Curated)
2229
+ 7 : "btn-primary " // REINDEXING_INDEXED_ON_PROD (matching Prod: Perfect)
2230
+ } ;
2231
2231
2232
2232
$button = $ ( `#reindexing-status-button-${ collection_id } ` ) ;
2233
2233
You can’t perform that action at this time.
0 commit comments