X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/83914eeb2e95cdf587565952eef54be59dd58693..5ec5ebedb4ea9789a34ded543395fed981382636:/templates/webpages/generic/part_selection_master.html diff --git a/templates/webpages/generic/part_selection_master.html b/templates/webpages/generic/part_selection_master.html index 41c3f5181..ac4aa4a21 100644 --- a/templates/webpages/generic/part_selection_master.html +++ b/templates/webpages/generic/part_selection_master.html @@ -1,3 +1,4 @@ +[%- USE T8 %] [% USE HTML %]
@@ -9,6 +10,7 @@ +
[% title %]
@@ -17,14 +19,14 @@ [% IF no_parts_found %] - No part was found matching the search parameters. + [% 'No part was found matching the search parameters.' | $T8 %] [% IF allow_creation %] - However, you can create a new part which will then be selected. + [% 'However, you can create a new part which will then be selected.' | $T8 %] [% END %] [% ELSE %] - Please select a part from the list below. + [% 'Please select a part from the list below.' | $T8 %] [% IF allow_creation %] - Alternatively you can create a new part which will then be selected. + [% 'Alternatively you can create a new part which will then be selected.' | $T8 %] [% END %] [% END %] @@ -43,7 +45,7 @@ [% FOREACH part = PARTS %] - + @@ -67,7 +69,7 @@ [% IF allow_creation %] -

+

[% END %]
@@ -92,7 +94,7 @@ } if (document.Form.action_on_part_selected.value != "") { window.opener.document.getElementsByName("action")[0].value = document.Form.action_on_part_selected.value; - window.opener.document.Form.submit(); + window.opener.document.[% formname %].submit(); } @@ -107,6 +109,10 @@ input.value = name; } + [%- IF click_button %] + window.opener.document.[% formname %].[% click_button %].click(); + [%- END %] + self.close(); } //-->