Permalink
Browse files

Updated push notifications format

  • Loading branch information...
blondak committed Feb 6, 2017
1 parent dad4301 commit bcfd7cfb30f831f93993de8b147268598249703f
@@ -430,6 +430,7 @@ private function createDebitRecord($account_id, $coin_address, $amount, $type) {
$aMailData['email'] = $this->user->getUserEmailById($account_id);
$aMailData['subject'] = $type . ' Completed';
$aMailData['amount'] = $amount;
$aMailData['currency'] = $this->config['currency'];
if (!$this->notification->sendNotification($account_id, 'payout', $aMailData)) {
$this->setErrorMessage('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $this->notification->getCronError());
}
@@ -1,5 +1,5 @@
<p>One of your workers is currently IDLE: {nocache}{$DATA.worker}{/nocache}</p>
<p>We have not received any shares for this worker in the past 10 minutes.</p>
<p>Since monitoring is enabled for this worker, this notification was sent.</p>
One of your workers is currently IDLE: <b>{nocache}{$DATA.worker}{/nocache}</b><br/>
We have not received any shares for this worker in the past 10 minutes.<br/>
Since monitoring is enabled for this worker, this notification was sent.<br/>
<br />
<p>Please check your workers!</p>
Please check your workers!
@@ -1 +1 @@
<p>{nocache}Block Number {$DATA.height} has been discovered by {$DATA.finder} with a total value of {$DATA.amount} {$DATA.currency}! The current difficulty is {$DATA.difficulty}.{/nocache}</p>
{nocache}Block Number <b>{$DATA.height}</b> has been discovered by <b>{$DATA.finder}</b> with a total value of <b>{$DATA.amount} {$DATA.currency}</b>! The current difficulty is {$DATA.difficulty}.{/nocache}
@@ -1,2 +1 @@
<p>You account has been debited and the coins have been sent to your wallet.</p>
<p>Amount: {nocache}{$DATA.amount}{/nocache}</p>
You account has been debited and the coins have been sent to your wallet.Amount: {nocache}<b>{$DATA.amount} {$DATA.currency}</b>{/nocache}
@@ -1,5 +1,5 @@
<p>Your account has successfully logged in</p>
<p>User: {$DATA.LOGINUSER}</p>
<p>IP: {$DATA.LOGINIP}</p>
<p>Time: {$DATA.LOGINTIME}</p>
<p>If you initiated this login, you can ignore this message. If you did NOT, please notify an administrator.</p>
Your account has successfully logged in<br/>
User: <b>{$DATA.LOGINUSER}</b><br/>
IP: <b>{$DATA.LOGINIP}</b><br/>
Time: <b>{$DATA.LOGINTIME}</b><br/>
If you initiated this login, you can ignore this message. If you did NOT, please notify an administrator.

0 comments on commit bcfd7cf

Please sign in to comment.