[MediaWiki-commits] [Gerrit] wikimedia...crm[master]: TY generator: add another replacement pattern for $date

2017-08-24 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
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(-)

Approvals:
  XenoRyet: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I6fab96de49fe8cf6d5d9c186be643f7408202ef4
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Ejegg 
Gerrit-Reviewer: XenoRyet 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia...crm[master]: TY generator: add another replacement pattern for $date

2017-08-24 Thread Ejegg (Code Review)
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 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits