Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/373684 )

Change subject: TY generator: add another replacement pattern for $date
......................................................................

TY generator: add another replacement pattern for $date

Maybe this is too forgiving?

Change-Id: I6fab96de49fe8cf6d5d9c186be643f7408202ef4
---
M sites/all/modules/thank_you/generators/ThankYou.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/84/373684/1

diff --git a/sites/all/modules/thank_you/generators/ThankYou.php 
b/sites/all/modules/thank_you/generators/ThankYou.php
index 9eb26cd..742c4ea 100644
--- a/sites/all/modules/thank_you/generators/ThankYou.php
+++ b/sites/all/modules/thank_you/generators/ThankYou.php
@@ -21,6 +21,8 @@
                        '/\[last name\]/' => '{{ last_name }}',
 
                        '/\[date\]/' => '{{ receive_date }}',
+
+                       '/\$date/' => '{{ receive_date }}',
                        '/\[amount\]/' => '{{ (currency ~ " " ~ amount) | 
l10n_currency(locale) }}',
                        '/\[contributionId\]/' => '{{ transaction_id }}',
 

-- 
To view, visit https://gerrit.wikimedia.org/r/373684
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6fab96de49fe8cf6d5d9c186be643f7408202ef4
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to