CRM-13890 - Cleanup message template text. Update obsolete wiki reference in Legacy...
authorDave Greenberg <dave@civicrm.org>
Thu, 5 Dec 2013 00:32:47 +0000 (16:32 -0800)
committerDave Greenberg <dave@civicrm.org>
Thu, 5 Dec 2013 00:32:47 +0000 (16:32 -0800)
----------------------------------------
* CRM-13890: Participant status is not being passed to message template for online event registration
  http://issues.civicrm.org/jira/browse/CRM-13890

CRM/Upgrade/4.4.3.msg_template/message_templates/event_online_receipt_html.tpl
CRM/Upgrade/4.4.3.msg_template/message_templates/event_online_receipt_text.tpl
CRM/Upgrade/Incremental/Legacy.php
CRM/Upgrade/Incremental/php/FourFour.php
xml/templates/message_templates/event_online_receipt_html.tpl
xml/templates/message_templates/event_online_receipt_text.tpl

index 22098fc22c2b9cc779a97f8bc58fe68aeea63285..c519669e4c3d60857c801206e8b36408aec56781 100644 (file)
@@ -27,7 +27,7 @@
      <p>{$event.confirm_email_text|htmlize}</p>
 
     {else}
-  <p>Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to <strong>{if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}</strong> for the following:</p>
+  <p>Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to <strong>{if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}</strong>.</p>
 
     {/if}
 
index e373d2b320bcb01c4f83456a2050a8dbf8fa9f55..726b3f3e7ace86329b67eb5b6b63c4b7c622cbbd 100644 (file)
@@ -4,7 +4,7 @@ Dear {contact.display_name},
 {$event.confirm_email_text}
 
 {else}
-Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if} for the following:
+Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.
 
 {/if}
 
index a9352edb626dc469e3fc53a8a43211d72b10a49d..506f8feeac9d0a4b42efe76620665eab49340854 100644 (file)
@@ -175,7 +175,7 @@ SELECT  id
     if ($flag == TRUE) {
       $html = "<ul>" . $html . "<ul>";
 
-      $message .= '<br />' . ts("The default copies of the message templates listed below will be updated to handle new features. Your installation has customized versions of these message templates, and you will need to apply the updates manually after running this upgrade. <a href='%1' style='color:white; text-decoration:underline; font-weight:bold;' target='_blank'>Click here</a> for detailed instructions. %2", array(1 => 'http://wiki.civicrm.org/confluence/display/CRMDOC40/Message+Templates#MessageTemplates-UpgradesandCustomizedSystemWorkflowTemplates', 2 => $html));
+      $message .= '<br />' . ts("The default copies of the message templates listed below will be updated to handle new features. Your installation has customized versions of these message templates, and you will need to apply the updates manually after running this upgrade. <a href='%1' style='color:white; text-decoration:underline; font-weight:bold;' target='_blank'>Click here</a> for detailed instructions. %2", array(1 => 'http://wiki.civicrm.org/confluence/display/CRMDOC/Message+Templates#MessageTemplates-UpgradesandCustomizedSystemWorkflowTemplates', 2 => $html));
     }
   }
 
index f571143699ff6f642e57b28183ffa64e3108632e..288e34f7976a189fa3e0fc4660ce596c271e8e9c 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Upgrade_Incremental_php_FourFour {
       }
     }
     if ($rev == '4.4.3') {
-      $postUpgradeMessage .= '<br />' . ts('Default versions of the following System Workflow Message Templates have been modified to handle new functionality: <ul><li>Events - Registration Confirmation and Receipt (on-line)</li></ul> If you have modified these templates, please review the new default versions and implement updates as needed to your copies (Administer > Communications > Message Templates > System Workflow Messages).');
+      $postUpgradeMessage .= '<br /><br />' . ts('Default versions of the following System Workflow Message Templates have been modified to handle new functionality: <ul><li>Events - Registration Confirmation and Receipt (on-line)</li></ul> If you have modified these templates, please review the new default versions and implement updates as needed to your copies (Administer > Communications > Message Templates > System Workflow Messages).');
     }
   }
 
index 22098fc22c2b9cc779a97f8bc58fe68aeea63285..c519669e4c3d60857c801206e8b36408aec56781 100644 (file)
@@ -27,7 +27,7 @@
      <p>{$event.confirm_email_text|htmlize}</p>
 
     {else}
-  <p>Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to <strong>{if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}</strong> for the following:</p>
+  <p>Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to <strong>{if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}</strong>.</p>
 
     {/if}
 
index e373d2b320bcb01c4f83456a2050a8dbf8fa9f55..726b3f3e7ace86329b67eb5b6b63c4b7c622cbbd 100644 (file)
@@ -4,7 +4,7 @@ Dear {contact.display_name},
 {$event.confirm_email_text}
 
 {else}
-Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if} for the following:
+Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to {if $participant_status}{$participant_status}{else}{if $isOnWaitlist}waitlisted{else}registered{/if}{/if}.
 
 {/if}