ソースを参照

MMICore : Couleur picto warning

Mathieu Moulin 1 年間 前
コミット
fe07f3243a
2 ファイル変更2 行追加2 行削除
  1. 1 1
      htdocs/custom/mmicommon
  2. 1 1
      htdocs/societe/class/societe.class.php

+ 1 - 1
htdocs/custom/mmicommon

@@ -1 +1 @@
-Subproject commit 64c0724f34c7950eef13a4f05b272198c9ba305c
+Subproject commit 357d40ec4609c8b29a3e184f30e61fa0c4e66841

+ 1 - 1
htdocs/societe/class/societe.class.php

@@ -2764,7 +2764,7 @@ class Societe extends CommonObject
 			$result .= img_object(($notooltip ? '' : $label), ($this->picto ? $this->picto : 'generic'), ($notooltip ? (($withpicto != 2) ? 'class="paddingright"' : '') : 'class="'.(($withpicto != 2) ? 'paddingright ' : '').'classfortooltip"'), 0, 0, $notooltip ? 0 : 1);
 			// MMI : Show picto if private note
 			if (!empty($conf->global->MMICORE_SHOW_PICTO_NOTE) && !empty($this->note_private)) {
-				$result .= '<span class="far fa-sticky-note" style=" color: #999;"></span> ';
+				$result .= '<span class="far fa-sticky-note" style=" color: '.(!empty($conf->global->MMICORE_SHOW_PICTO_NOTE_COLOR) ?$conf->global->MMICORE_SHOW_PICTO_NOTE_COLOR :'#999').';"></span> ';
 			}
 		}
 		if ($withpicto != 2) {