Merge branch 'ticket/14716-order-mobile' into develop

This commit is contained in:
Michael RICOIS 2017-12-18 15:53:45 +01:00
commit 3c2e01149c
5 changed files with 8 additions and 4 deletions

View File

@ -3814,3 +3814,7 @@ form.form-forward-message .button:focus{
.tab_customer_thread .button:focus{
background-color: rgba(86,84,133,0.6);
}
span.anticon {
color: #000;
}

@ -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)