X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2F_send_email_dialog.html;fp=templates%2Fwebpages%2Fcommon%2F_send_email_dialog.html;h=487943c6c894fc632819c9440b7fc9dc8a5689b6;hp=79b984c81b8c0e09f69c158bb515f1f8fd2c87f7;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84 diff --git a/templates/webpages/common/_send_email_dialog.html b/templates/webpages/common/_send_email_dialog.html index 79b984c81..487943c6c 100644 --- a/templates/webpages/common/_send_email_dialog.html +++ b/templates/webpages/common/_send_email_dialog.html @@ -40,10 +40,25 @@ + [%- IF ALL_PARTNER_EMAIL_ADDRESSES.size %] + [%- FOREACH email = ALL_PARTNER_EMAIL_ADDRESSES %] + + + [%- IF loop.first %] + [% LxERP.t8("Other recipients") %] + [%- END %] + + + [% P.checkbox_tag("email_form.additional_to[]", label=email, value=email, checked="0") %] + + + [%- END %] + [%- END %] + [%- IF ALL_EMPLOYEES.size %] [% LxERP.t8("CC to Employee") %] - [% L.select_tag('email_form.cc_employee', ALL_EMPLOYEES, value_key='login' title_key='safe_name', with_empty=1, style=style) %] + [% L.select_tag('email_form.cc_employee', ALL_EMPLOYEES, value_key='login' title_key='safe_name', with_empty=1, style=style) %] [%- END %] @@ -68,7 +83,7 @@ [% LxERP.t8("Message") %] [% L.link("generictranslations.pl?action=edit_email_strings", "1)", title=LxERP.t8('Tired of copying always nice phrases for this message? Click here to use the new preset message option!'), target="_blank") %] - [% L.textarea_tag("email_form.message", email_form.message, rows="15" cols="80" wrap="soft") %] + [% L.textarea_tag("email_form.message", email_form.message, rows="15", cols="80", class="texteditor texteditor-space-for-toolbar") %] [% IF INSTANCE_CONF.get_doc_storage %] @@ -77,8 +92,8 @@ [% SET no_file_label = have_files ? LxERP.t8("Don't include a printout of the record with the email, only selected files") : LxERP.t8("Don't include a printout of the record with the email") ; options = [ + [ "old_file", LxERP.t8("Send the last or create the first version for this record") ], [ "normal", LxERP.t8("Create and send a new printout for this record") ], - [ "old_file", LxERP.t8("Send the last printout created for this record") ], [ "no_file", no_file_label ], ] ; L.select_tag("email_form.attachment_policy", options, onchange="kivi.SalesPurchase.activate_send_email_actions_regarding_printout()") %]