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['email'] = $this->user->getUserEmailById($account_id);
|
||||||
$aMailData['subject'] = $type . ' Completed';
|
$aMailData['subject'] = $type . ' Completed';
|
||||||
$aMailData['amount'] = $amount;
|
$aMailData['amount'] = $amount;
|
||||||
|
$aMailData['currency'] = $this->config['currency'];
|
||||||
if (!$this->notification->sendNotification($account_id, 'payout', $aMailData)) {
|
if (!$this->notification->sendNotification($account_id, 'payout', $aMailData)) {
|
||||||
$this->setErrorMessage('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $this->notification->getCronError());
|
$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>
|
One of your workers is currently IDLE: <b>{nocache}{$DATA.worker}{/nocache}</b><br/>
|
||||||
<p>We have not received any shares for this worker in the past 10 minutes.</p>
|
We have not received any shares for this worker in the past 10 minutes.<br/>
|
||||||
<p>Since monitoring is enabled for this worker, this notification was sent.</p>
|
Since monitoring is enabled for this worker, this notification was sent.<br/>
|
||||||
<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>
|
You account has been debited and the coins have been sent to your wallet.Amount: {nocache}<b>{$DATA.amount} {$DATA.currency}</b>{/nocache}
|
||||||
<p>Amount: {nocache}{$DATA.amount}{/nocache}</p>
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<p>Your account has successfully logged in</p>
|
Your account has successfully logged in<br/>
|
||||||
<p>User: {$DATA.LOGINUSER}</p>
|
User: <b>{$DATA.LOGINUSER}</b><br/>
|
||||||
<p>IP: {$DATA.LOGINIP}</p>
|
IP: <b>{$DATA.LOGINIP}</b><br/>
|
||||||
<p>Time: {$DATA.LOGINTIME}</p>
|
Time: <b>{$DATA.LOGINTIME}</b><br/>
|
||||||
<p>If you initiated this login, you can ignore this message. If you did NOT, please notify an administrator.</p>
|
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