Update status page icons to use FontAwesome

This commit is contained in:
James Brooks
2014-12-13 12:32:01 +00:00
parent 2fb76b4290
commit 5853aa3f94

View File

@@ -42,10 +42,10 @@ class Incident extends Eloquent implements \Dingo\Api\Transformer\TransformableI
*/
public function getIconAttribute() {
switch ($this->status) {
case 1: return 'glyphicon-flag';
case 2: return 'glyphicon-warning-sign';
case 3: return 'glyphicon-eye-open';
case 4: return 'glyphicon-ok';
case 1: return 'fa fa-flag';
case 2: return 'fa fa-warning';
case 3: return 'fa fa-eye';
case 4: return 'fa fa-check';
}
}