Issue #2546078 by ravenstar, albertski: Update report shows up-to-date modules with "color-error" style

8.0.x
Alex Pott 2015-08-19 08:40:38 +01:00
parent 57a6ca07c5
commit c89df1cecd
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ function template_preprocess_update_report(&$variables) {
// Add project status class attribute to the table row.
switch ($project['status']) {
case UPDATE_CURRENT:
$rows[$project['project_type']][$row_key]['#attributes'] = array('class' => array('color-success'));
break;
case UPDATE_UNKNOWN:
case UPDATE_FETCH_PENDING:
case UPDATE_NOT_FETCHED: