add link to email definitions from manual email page

This commit is contained in:
Nathan Coad
2018-06-17 09:44:14 +10:00
parent 4bad8b2d46
commit eca4508853

View File

@@ -32,6 +32,8 @@ function booking_manual_email_form($form, &$form_state)
$values = array(); $values = array();
$group_text = ""; $group_text = "";
$prefix = t("<p>Send a manual email to people registered for this event.</p>"); $prefix = t("<p>Send a manual email to people registered for this event.</p>");
$prefix .= t("<p>Click !workflow to update builtin-workflow emails, or click !custom to update custom email definitions.</p>",
array ('!workflow' => l('here', 'admin/config/booking/emails'), '!custom' => l('here', 'admin/config/booking/emails/definitions')));
$email_options_array = array(); $email_options_array = array();
$email_options_array['NULL'] = "---"; $email_options_array['NULL'] = "---";
$email_options_array['registration'] = 'Registration Successful Email'; $email_options_array['registration'] = 'Registration Successful Email';