diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index de69513e62a..fe0cbb9e27b 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -1640,13 +1640,14 @@ else
print '
';
if ($user->rights->contrat->creer && count($arrayothercontracts) && ($object->statut >= 0))
{
- print '';
+ print '';
+ print '';
print img_picto($langs->trans("MoveToAnotherContract"),'uparrow');
print '';
}
if ($user->rights->contrat->creer && ($object->statut >= 0))
{
- print '';
+ print '';
print img_edit();
print '';
}
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index b5794758d23..457f1ad1ed5 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -3063,7 +3063,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$pictowithoutext = preg_replace('/(\.png|\.gif|\.svg)$/', '', $picto);
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
- if (in_array($pictowithoutext, array('delete', 'edit', 'off', 'on', 'resize', 'switch_off', 'switch_on')))
+ if (in_array($pictowithoutext, array('delete', 'edit', 'off', 'on', 'resize', 'switch_off', 'switch_on', 'uparrow')))
{
$fakey = $pictowithoutext; $facolor=''; $fasize='';
if ($pictowithoutext == 'switch_off') { $fakey = 'fa-toggle-off'; $facolor='#999'; $fasize='2em'; }
@@ -3073,6 +3073,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
elseif ($pictowithoutext == 'delete') { $fakey = 'fa-trash'; $facolor='#444'; }
elseif ($pictowithoutext == 'edit') { $fakey = 'fa-pencil'; $facolor='#444'; }
elseif ($pictowithoutext == 'resize') { $fakey = 'fa-crop'; $facolor='#444'; }
+ elseif ($pictowithoutext == 'uparrow') { $fakey = 'fa-mail-forward'; $facolor='#555'; }
else { $fakey = 'fa-'.$pictowithoutext; $facolor='#999'; }
if (preg_match('/class="([^"]+)"/', $moreatt, $reg)) { $morecss.=($morecss?' ':'').$reg[1]; }
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 6293802540e..c3ed6e76ab5 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -1331,7 +1331,8 @@ div.nopadding {
.pictowarning {
vertical-align: text-bottom;
}
-.fiche img.pictoedit, .fiche span.pictoedit {
+.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
+.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit {
opacity: 0.4;
}
.colorthumb {
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index c088e0d4acd..5b8d82aaa53 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -1339,7 +1339,8 @@ table.noborder tr.liste_titre td {
.pictowarning {
vertical-align: text-bottom;
}
-.fiche img.pictoedit, .fiche span.pictoedit {
+.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
+.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit {
opacity: 0.9;
}
img.hideonsmartphone.pictoactionview {
|