Skip to content

Commit

Permalink
chore: add help text to newsletter custom subject
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed May 6, 2024
1 parent 5fc2126 commit 8b31b6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions languages/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@

// edit
'newsletter:edit:subject' => "Custom e-mail subject (optional)",
'newsletter:edit:subject:help' => "If you wish to have a different e-mail subject from the newsletter title you can configure it here.",
'newsletter:edit:from' => "Custom sending e-mail address (optional)",
'newsletter:edit:from:description' => "By default the newsletter will be sent from %s. You can enter a custom sender e-mail address here. You will receive non-delivery reports on this e-mail address.",
'newsletter:edit:description:description' => "This description is used in the listing of the newsletters and will by default not be part of the newsletter content.",
Expand Down
1 change: 1 addition & 0 deletions views/default/forms/newsletter/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
echo elgg_view_field([
'#type' => 'text',
'#label' => elgg_echo('newsletter:edit:subject'),
'#help' => elgg_echo('newsletter:edit:subject:help'),
'name' => 'subject',
'value' => elgg_extract('subject', $vars),
]);
Expand Down

0 comments on commit 8b31b6e

Please sign in to comment.