UXUI Change mass mailing icon to bulk-mail (#37951)
Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
This commit is contained in:
parent
9bf8103dad
commit
29aa7b2938
3 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ class Mailing extends CommonObject
|
|||
/**
|
||||
* @var string String with name of icon for myobject. Must be the part after the 'object_' into object_myobject.png
|
||||
*/
|
||||
public $picto = 'email';
|
||||
public $picto = 'mail-bulk';
|
||||
|
||||
/**
|
||||
* @var string Type of message ('email', 'sms')
|
||||
|
|
|
|||
|
|
@ -486,7 +486,7 @@ if ($user->hasRight('mailing', 'creer')) {
|
|||
$newcardbutton .= dolGetButtonTitle($langs->trans('NewMailing'), '', 'fa fa-plus-circle', $url);
|
||||
}
|
||||
|
||||
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_email', 0, $newcardbutton, '', $limit, 0, 0, 1);
|
||||
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, $object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1);
|
||||
|
||||
// Add code for pre mass action (confirmation or email presend form)
|
||||
$topicmail = "SendMailingRef";
|
||||
|
|
|
|||
|
|
@ -2588,7 +2588,7 @@ function get_left_menu_tools($mainmenu, &$newmenu, $usemenuhider = 1, $leftmenu
|
|||
$titleindex .= ' | '.$langs->trans("SMSings");
|
||||
$titlenew .= ' | '.$langs->trans("NewSMSing");
|
||||
}
|
||||
$newmenu->add(dolBuildUrl('/comm/mailing/index.php', ['leftmenu' => 'mailing']), $titleindex, 0, $user->hasRight('mailing', 'lire'), '', $mainmenu, 'mailing', 15, '', '', '', img_picto('', 'email', 'class="paddingright pictofixedwidth"'));
|
||||
$newmenu->add(dolBuildUrl('/comm/mailing/index.php', ['leftmenu' => 'mailing']), $titleindex, 0, $user->hasRight('mailing', 'lire'), '', $mainmenu, 'mailing', 15, '', '', '', img_picto('', 'mail-bulk', 'class="paddingright pictofixedwidth"'));
|
||||
$newmenu->add(dolBuildUrl('/comm/mailing/card.php', ['leftmenu' => 'mailing', 'action' => 'create']), $titlenew, 1, $user->hasRight('mailing', 'creer'));
|
||||
$newmenu->add(dolBuildUrl('/comm/mailing/list.php', ['leftmenu' => 'mailing']), $titlelist, 1, $user->hasRight('mailing', 'lire'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue