From f13d4c6396201bdf26a4086c708523a0db313acc Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 14 Jul 2011 17:21:08 +0000 Subject: fix labels for cdr_squelch depending on conf setting of voip-cdr_email, RT#13561 --- httemplate/view/cust_main/billing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/view/cust_main') diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 9f1ff8dc9..ba63833f4 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -244,7 +244,7 @@ % if ( $conf->exists('voip-cust_cdr_squelch') ) { - <% mt('Print CDRs') |h %> + <% mt($conf->exists('voip-cdr_email') ? 'Print CDRs' : 'Show CDRs') |h %> <% $cust_main->squelch_cdr ? $no : $yes %> % } -- cgit v1.2.1