Updated push notifications format
This commit is contained in:
parent
dad43012e9
commit
bcfd7cfb30
@ -430,6 +430,7 @@ class Transaction extends Base {
|
||||
$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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user