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