Skip to content

Commit 406d28f

Browse files
committed
refactor(targetticket,targetchange): use fontawesome
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent c7815c3 commit 406d28f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

inc/targetbase.class.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -998,9 +998,9 @@ protected function showActorsSettings() {
998998
];
999999
}
10001000

1001-
$img_user = '<img src="../../../pics/users.png" alt="' . __('User') . '" title="' . __('User') . '" width="20" />';
1002-
$img_group = '<img src="../../../pics/groupes.png" alt="' . __('Group') . '" title="' . __('Group') . '" width="20" />';
1003-
$img_supplier = '<img src="../../../pics/supplier.png" alt="' . __('Supplier') . '" title="' . __('Supplier') . '" width="20" />';
1001+
$img_user = '<i class="fas fa-user" alt="' . __('User') . '" title="' . __('User') . '" width="20"></i>';
1002+
$img_group = '<i class="fas fa-users" alt="' . __('Group') . '" title="' . __('Group') . '" width="20"></i>';
1003+
$img_supplier = '<i class="fas fa-suitcase" alt="' . __('Supplier') . '" title="' . __('Supplier') . '" width="20"></i>';
10041004
$img_mail = '<img src="../pics/email.png" alt="' . __('Yes') . '" title="' . __('Email followup') . ' ' . __('Yes') . '" />';
10051005
$img_nomail = '<img src="../pics/email-no.png" alt="' . __('No') . '" title="' . __('Email followup') . ' ' . __('No') . '" />';
10061006

@@ -1159,7 +1159,7 @@ protected function showActorsSettings() {
11591159
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_GROUP :
11601160
$group = new Group();
11611161
$group->getFromDB($values['actor_value']);
1162-
echo $img_user . ' <b>' . __('Group') . ' </b> "' . $group->getName() . '"';
1162+
echo $img_group . ' <b>' . __('Group') . ' </b> "' . $group->getName() . '"';
11631163
break;
11641164
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_QUESTION_GROUP :
11651165
$question = new PluginFormcreatorQuestion();
@@ -1296,7 +1296,7 @@ protected function showActorsSettings() {
12961296
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_GROUP :
12971297
$group = new Group();
12981298
$group->getFromDB($values['actor_value']);
1299-
echo $img_user . ' <b>' . __('Group') . ' </b> "' . $group->getName() . '"';
1299+
echo $img_group . ' <b>' . __('Group') . ' </b> "' . $group->getName() . '"';
13001300
break;
13011301
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_QUESTION_GROUP :
13021302
$question = new PluginFormcreatorQuestion();
@@ -1454,7 +1454,7 @@ protected function showActorsSettings() {
14541454
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_GROUP :
14551455
$group = new Group();
14561456
$group->getFromDB($values['actor_value']);
1457-
echo $img_user . ' <b>' . __('Group') . ' </b> "' . $group->getName() . '"';
1457+
echo $img_group . ' <b>' . __('Group') . ' </b> "' . $group->getName() . '"';
14581458
break;
14591459
case PluginFormcreatorTarget_Actor::ACTOR_TYPE_QUESTION_GROUP :
14601460
$question = new PluginFormcreatorQuestion();

pics/user.png

-913 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)