Issue #2546078 by ravenstar, albertski: Update report shows up-to-date modules with "color-error" style
parent
57a6ca07c5
commit
c89df1cecd
|
@ -74,6 +74,8 @@ function template_preprocess_update_report(&$variables) {
|
||||||
// Add project status class attribute to the table row.
|
// Add project status class attribute to the table row.
|
||||||
switch ($project['status']) {
|
switch ($project['status']) {
|
||||||
case UPDATE_CURRENT:
|
case UPDATE_CURRENT:
|
||||||
|
$rows[$project['project_type']][$row_key]['#attributes'] = array('class' => array('color-success'));
|
||||||
|
break;
|
||||||
case UPDATE_UNKNOWN:
|
case UPDATE_UNKNOWN:
|
||||||
case UPDATE_FETCH_PENDING:
|
case UPDATE_FETCH_PENDING:
|
||||||
case UPDATE_NOT_FETCHED:
|
case UPDATE_NOT_FETCHED:
|
||||||
|
|
Loading…
Reference in New Issue