Use font icon

This commit is contained in:
Michael RICOIS 2017-12-18 15:26:56 +01:00
parent 781f0c10d7
commit 411bf136e5
4 changed files with 4 additions and 4 deletions

@ -1 +0,0 @@
Subproject commit b26d6103a62b0eff495b785ec15edf0ad7020ea8

@ -1 +0,0 @@
Subproject commit b26d6103a62b0eff495b785ec15edf0ad7020ea8

@ -1 +0,0 @@
Subproject commit b26d6103a62b0eff495b785ec15edf0ad7020ea8

View File

@ -97,16 +97,19 @@ class Order extends OrderCore
default: default:
case 0: case 0:
$name = 'computer'; $name = 'computer';
$icon = 'display';
break; break;
case 1: case 1:
$name = 'application'; $name = 'application';
$icon = 'android';
break; break;
case 2: case 2:
$name = 'mobile'; $name = 'mobile';
$icon = 'mobile';
break; break;
} }
return '<img src="/img/'.$name.'.png" alt="" width="18px"/>'; return '<span title="'.$name.'" class="anticon anticon-'.$icon.'"></span>';
} }
public function printCarrier($value, $params) public function printCarrier($value, $params)