X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=7516dabab4bf9c64e65800f3ec3583e8d4aa58b0;hb=5c0d47bfe554a35c8906d97b9fabd9999be4f67e;hp=856a2eaef76ad2125713d7ad677e55642a727ff3;hpb=29347e1d34d5468994af6e219f00582e525688ae;p=freeside.git diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 856a2eaef..7516dabab 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -43,7 +43,10 @@ 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, $pkg, whatever - } - @keys + <% join( ' ', + map { + my $key = $_; + my $record = qsearchs($table, { $pkey => $key }); + $record ? "$key: ".$record->$namecol() : $key; + } @keys ) %> |
@@ -301,10 +312,19 @@ Click on a configuration value to change it.