X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2F_send_email_dialog.html;h=487943c6c894fc632819c9440b7fc9dc8a5689b6;hb=HEAD;hp=b58e762c47b42d0f499ac40371c0c49bb5e07ab7;hpb=bc0386a49ddf723675331faeae842447d8c1fa2e;p=kivitendo-erp.git diff --git a/templates/webpages/common/_send_email_dialog.html b/templates/webpages/common/_send_email_dialog.html index b58e762c4..487943c6c 100644 --- a/templates/webpages/common/_send_email_dialog.html +++ b/templates/webpages/common/_send_email_dialog.html @@ -40,6 +40,28 @@ + [%- 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) %] + + [%- END %] + [% LxERP.t8("Cc") %] [% L.input_tag("email_form.cc", email_form.cc, size="80") %] @@ -61,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 %] @@ -70,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()") %]