Redesign status page

This commit is contained in:
Joseph Cohen
2014-12-27 23:43:31 -06:00
parent f859597336
commit ba27c96568
12 changed files with 191 additions and 123 deletions
+9
View File
@@ -61,4 +61,13 @@ class Incident extends Eloquent implements \Dingo\Api\Transformer\TransformableI
{
return new CachetHQ\Cachet\Transformers\IncidentTransformer();
}
/**
* Check if Incident has message.
* @return boolean
*/
public function hasMessage()
{
return ($this->message !== '');
}
}