From 76991db6bd1adccb796d53c4a1d1406a9aadf644 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 17 Dec 2014 16:02:18 -0800 Subject: [PATCH] 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 --- CRM/Price/BAO/PriceField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') . ')'; } -- 2.25.1