X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-part_pkg.html;h=400cc5ae8190131d8d362f44b07bd2f8a50d41b7;hp=88653f4652cd43f7ca0158d816517fd0d66b515a;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=624b2d44625f69d71175c3348cae635d580c890b diff --git a/httemplate/elements/tr-select-part_pkg.html b/httemplate/elements/tr-select-part_pkg.html index 88653f465..400cc5ae8 100644 --- a/httemplate/elements/tr-select-part_pkg.html +++ b/httemplate/elements/tr-select-part_pkg.html @@ -9,12 +9,12 @@ % % unless ( $opt{'js_only'} ) { - <% include('tr-td-label.html', %opt) %> + <& tr-td-label.html, %opt &> > % } % - <% include( '/elements/select-part_pkg.html', %opt ) %> + <& /elements/select-part_pkg.html, %opt &> % % unless ( $opt{'js_only'} ) { @@ -30,10 +30,6 @@ my( %opt ) = @_; my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; -$opt{'label'} ||= 'Package definition'; - -#taken care of (better) in select-part_pkg now (is there anything using this -# that needs to override the disabed=>'' ??) -#$opt{'part_pkg'} ||= [ qsearch( 'part_pkg', {} ) ]; # { disabled=>'' } ) +$opt{'label'} ||= emt('Package definition');