From 9d1ca524924c479be6636896bfa0e26814879b51 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 29 Jun 2015 11:22:03 +0200 Subject: [PATCH 1/5] Css fix --- htdocs/theme/eldy/style.css.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 730f2d76f18..8128aec8613 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2554,9 +2554,9 @@ div.dolgraph div.legend table tbody tr { height: auto; } margin-top: 10px; } .photowithmargin { - -webkit-box-shadow: 0px 0px 3px #777; +/* -webkit-box-shadow: 0px 0px 3px #777; -moz-box-shadow: 0px 0px 3px #777; - box-shadow: 0px 0px 3px #777; + box-shadow: 0px 0px 3px #777;*/ } .photointoolitp { margin-top: 6px; From 5f07c18e06432b394c578eba6aa05b404f2ee4a2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 29 Jun 2015 16:57:32 +0200 Subject: [PATCH 2/5] NEW Add opportunity amount on project card. --- htdocs/core/class/html.formprojet.class.php | 61 ++- htdocs/core/lib/ajax.lib.php | 2 +- htdocs/core/lib/project.lib.php | 10 +- .../install/mysql/migration/3.7.0-3.8.0.sql | 13 +- .../mysql/tables/llx_c_lead_status.key.sql | 19 + .../mysql/tables/llx_c_lead_status.sql | 25 + htdocs/install/mysql/tables/llx_projet.sql | 4 +- htdocs/langs/en_US/projects.lang | 2 + htdocs/projet/admin/project.php | 484 ++++++++++-------- htdocs/projet/card.php | 58 ++- htdocs/projet/class/project.class.php | 54 +- htdocs/projet/element.php | 19 +- 12 files changed, 502 insertions(+), 249 deletions(-) create mode 100644 htdocs/install/mysql/tables/llx_c_lead_status.key.sql create mode 100644 htdocs/install/mysql/tables/llx_c_lead_status.sql diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index cbc5452f3ba..68f88fa2ec5 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -364,7 +364,7 @@ class FormProjets } // Label for task $labeltoshow.=' - '.$obj->tref.' '.dol_trunc($obj->tlabel,$maxlength); - + if (!empty($selected) && $selected == $obj->rowid) { $out.= '