more tweaks

This commit is contained in:
2014-06-03 20:40:42 +10:00
parent eff81fdbba
commit 6ca1c1ab80
2 changed files with 12 additions and 4 deletions

View File

@@ -562,8 +562,12 @@ function booking_token_info() {
);
$info['tokens']['booking']['room-allocation'] = array(
'name' => t('Room Allocation'),
'description' => t('Listing of room allocated to attendee.')
);
'description' => t('Details of room allocated to attendee.')
);
$info['tokens']['booking']['bed-type'] = array(
'name' => t('Bed Type'),
'description' => t('The bed type allocated to attendee.')
);
$info['tokens']['booking']['travel-link'] = array(
'name' => t('Travel form Link'),
'description' => t('Link to the person\'s travel form.')
@@ -686,6 +690,7 @@ function booking_define_personspecific_tokens($node)
$tokens['travel-summary'] = _booking_travelform_email_summary($node);
$tokens['studygroup-summary'] = _booking_studygroup_email_summary($node);
$tokens['room-allocation'] = _booking_room_email_summary($node);
$tokens['bed-type'] = _booking_room_bedtype_lookup($node->booking_room_bedtype);
return $tokens;
}