X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fbulk-part_pkg.html;h=4665c9f958ebc65b10a1e6da298f19cdd23d5f81;hp=751bf7e5d04fb267a425a3c99d5ea1679a19edd0;hb=ac8410cdb67639afeb84c84e975fffadf3e6cce1;hpb=6a0458ad05422b664918b0c7a18b456c022909ba diff --git a/httemplate/edit/bulk-part_pkg.html b/httemplate/edit/bulk-part_pkg.html index 751bf7e5d..4665c9f95 100644 --- a/httemplate/edit/bulk-part_pkg.html +++ b/httemplate/edit/bulk-part_pkg.html @@ -6,13 +6,14 @@ .row0 { background-color: #eeeeee; } .row1 { background-color: #ffffff; } +<& /elements/error.html &>
The following packages will be changed:
% foreach my $pkgpart (sort keys(%part_pkg)) { -<% $part_pkg{$pkgpart}->pkg_comment %>
+<% $part_pkg{$pkgpart}->pkg_comment |h %>
% }

@@ -22,15 +23,12 @@ The following packages will be changed:
% foreach my $num (sort keys %report_class) { -% if ( defined $initial_state{$num} ) { - <& /elements/checkbox.html, - field => 'report_option_'.$num, - value => 1, - curr_value => $initial_state{$num} - &> -% } else { +% if ( $initial_state{$num} == -1 ) { % # needs to be a tristate so that you can say "don't change it" <& /elements/checkbox-tristate.html, field => 'report_option_'.$num &> +% } else { +%# for visual consistency + >