From: Dave Greenberg Date: Thu, 18 Dec 2014 00:02:18 +0000 (-0800) Subject: CRM-14696 - make sold out options a bit easier to see by making the entire option... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=76991db6bd1adccb796d53c4a1d1406a9aadf644;p=civicrm-core.git CRM-14696 - make sold out options a bit easier to see by making the entire option italic and grey. ---------------------------------------- * CRM-14696: https://issues.civicrm.org/jira/browse/CRM-14696 --- diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index a1bc87c119..75aeb4edbd 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -470,7 +470,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $allowedOptions[] = $opt['id']; } // CRM-14696 - Improve display for sold out price set options - else { + else { $opt['label'] = $opt['label'] . ' (' . ts('Sold out') . ')'; }