X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=a939b19e06a4bcba8da3e1d4a6420e2a2b052007;hb=5cae209e7a123e2fb4da3eb720b54a0b83368977;hp=80a65d09b7c2fc43104cca4f63de5501d4f7aa85;hpb=81e426fe755eaea508041bc2d7b25ac44c777434;p=freeside.git diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 80a65d09b..a939b19e0 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -43,12 +43,16 @@ Click on a configuration value to change it.
- <% ucfirst($section || 'unclassified') %> configuration options + <% ucfirst($section || 'unclassified') %> +% if ( $curuser->option('show_confitem_counts') ) { + (<% scalar( @{ $section_items{$section} } ) %> items) +% } | |
---|---|
- <% join(' ', map { $_ # ': '. $svc - } - @svcparts + <% join( ' ', + map { + my $key = $_; + my $record = qsearchs($table, { $pkey => $key }); + $record ? "$key: ".$record->$namecol() : $key; + } @keys ) %> |
@@ -300,10 +312,19 @@ Click on a configuration value to change it.