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:
case 0:
$name = 'computer';
$icon = 'display';
break;
case 1:
$name = 'application';
$icon = 'android';
break;
case 2:
$name = 'mobile';
$icon = 'mobile';
break;
}
return '<img src="/img/'.$name.'.png" alt="" width="18px"/>';
return '<span title="'.$name.'" class="anticon anticon-'.$icon.'"></span>';
}
public function printCarrier($value, $params)