TT#33108 add email templates attachment_name field

* attachment_name is added to the EmailTemplate form
      and it is used to define the attachnemt name where
      applicable

Change-Id: Ide6d7aab46fb99ca9c38a34eea9c8db18affc8f9
changes/84/23884/1
Kirill Solomko 7 years ago
parent 79606495ea
commit 3eab769c1e

@ -12,7 +12,7 @@ has_field 'reseller' => (
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/reseller name from_email subject body/],
render_list => [qw/reseller name from_email subject body attachment_name/],
);
1;

@ -52,6 +52,14 @@ This is an automatically generated message. Do not reply.
EOS_DEFAULT_TEXT
);
has_field 'attachment_name' => (
type => 'Text',
label => 'Attachment Name',
required => 0,
maxlength => 255,
default => "",
);
has_field 'save' => (
type => 'Submit',
value => 'Save',
@ -62,7 +70,7 @@ has_field 'save' => (
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/name from_email subject body/],
render_list => [qw/name from_email subject body attachment_name/],
);
has_block 'actions' => (

Loading…
Cancel
Save