Skip to content

Commit bcfd7cf

Browse files
committed
Updated push notifications format
1 parent dad4301 commit bcfd7cf

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

include/classes/transaction.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ private function createDebitRecord($account_id, $coin_address, $amount, $type) {
430430
$aMailData['email'] = $this->user->getUserEmailById($account_id);
431431
$aMailData['subject'] = $type . ' Completed';
432432
$aMailData['amount'] = $amount;
433+
$aMailData['currency'] = $this->config['currency'];
433434
if (!$this->notification->sendNotification($account_id, 'payout', $aMailData)) {
434435
$this->setErrorMessage('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $this->notification->getCronError());
435436
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<p>One of your workers is currently IDLE: {nocache}{$DATA.worker}{/nocache}</p>
2-
<p>We have not received any shares for this worker in the past 10 minutes.</p>
3-
<p>Since monitoring is enabled for this worker, this notification was sent.</p>
1+
One of your workers is currently IDLE: <b>{nocache}{$DATA.worker}{/nocache}</b><br/>
2+
We have not received any shares for this worker in the past 10 minutes.<br/>
3+
Since monitoring is enabled for this worker, this notification was sent.<br/>
44
<br />
5-
<p>Please check your workers!</p>
5+
Please check your workers!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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>
1+
{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}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
<p>You account has been debited and the coins have been sent to your wallet.</p>
2-
<p>Amount: {nocache}{$DATA.amount}{/nocache}</p>
1+
You account has been debited and the coins have been sent to your wallet.Amount: {nocache}<b>{$DATA.amount} {$DATA.currency}</b>{/nocache}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<p>Your account has successfully logged in</p>
2-
<p>User: {$DATA.LOGINUSER}</p>
3-
<p>IP: {$DATA.LOGINIP}</p>
4-
<p>Time: {$DATA.LOGINTIME}</p>
5-
<p>If you initiated this login, you can ignore this message. If you did NOT, please notify an administrator.</p>
1+
Your account has successfully logged in<br/>
2+
User: <b>{$DATA.LOGINUSER}</b><br/>
3+
IP: <b>{$DATA.LOGINIP}</b><br/>
4+
Time: <b>{$DATA.LOGINTIME}</b><br/>
5+
If you initiated this login, you can ignore this message. If you did NOT, please notify an administrator.

0 commit comments

Comments
 (0)