Example #1
0
 /**
  * Decorate the active column values
  *
  * @param  string        $value Check result
  * @param  Varien_Object $row   Current row
  * @return string        Cell content
  */
 public function decorateTrueFalse($value, $row)
 {
     if ($row->getActive()) {
         $cell = '<span class="grid-severity-notice"><span>' . $value . '</span></span>';
     } else {
         $cell = '<span class="grid-severity-critical"><span>' . $value . '</span></span>';
     }
     return $cell;
 }