From 5a2e9bf7bf96fb4c7bbe375ea191d1c68784b068 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 27 Oct 2024 02:14:11 +0100 Subject: [PATCH] Look and feel v21 --- htdocs/compta/bank/class/paymentvarious.class.php | 6 +++--- htdocs/theme/eldy/info-box.inc.php | 3 +++ htdocs/theme/md/info-box.inc.php | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/bank/class/paymentvarious.class.php b/htdocs/compta/bank/class/paymentvarious.class.php index 52932b749a0..d0befa6c10f 100644 --- a/htdocs/compta/bank/class/paymentvarious.class.php +++ b/htdocs/compta/bank/class/paymentvarious.class.php @@ -849,9 +849,9 @@ class PaymentVarious extends CommonObject } if (property_exists($this, 'datep')) { $return .= '
'.$langs->trans("Date").' : '.dol_print_date($this->db->jdate($this->datep), 'day').''; - } - if (property_exists($this, 'type_payment') && !empty($this->type_payment)) { - $return .= '
'.$langs->trans("Payment", $this->type_payment).' : '.$this->type_payment.''; + if ($this->type_payment) { + $return .= ' - '.$this->type_payment.''; + } } if (property_exists($this, 'accountancy_code')) { $return .= '
'.$langs->trans("Account").' : '.$this->accountancy_code.''; diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php index 1bf78be6ead..a438121b5c4 100644 --- a/htdocs/theme/eldy/info-box.inc.php +++ b/htdocs/theme/eldy/info-box.inc.php @@ -579,6 +579,9 @@ a.vmenu span, span.vmenu, span.vmenu span { border-radius: 5px; } .kanban .box-flex-item { + line-height: 1.4em; +} +.kanban .box-flex-item-5lines { line-height: 1.2em; } diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php index 24361943659..2107fc5bec3 100644 --- a/htdocs/theme/md/info-box.inc.php +++ b/htdocs/theme/md/info-box.inc.php @@ -608,6 +608,9 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { border-radius: 5px; } .kanban .box-flex-item { + line-height: 1.4em; +} +.kanban .box-flex-item-5lines { line-height: 1.18em; }