This commit is contained in:
wowario 2021-05-13 12:13:02 +03:00
parent 572f04dfba
commit b9e5fcc96e
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
21 changed files with 152 additions and 157 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Ryo Currency Project
* Copyright (c) 2018, Fireice Trust Fund
*/
function monero_showNotification(message, type='success') {
var toast = jQuery('<div class="' + type + '"><span>' + message + '</span></div>');
@ -62,7 +62,7 @@ function monero_updateDetails() {
break;
}
jQuery('#monero_exchange_rate').html('1 XMR = '+details.rate_formatted+' '+details.currency);
jQuery('#monero_exchange_rate').html('1 WOW = '+details.rate_formatted+' '+details.currency);
jQuery('#monero_total_amount').html(details.amount_total_formatted);
jQuery('#monero_total_paid').html(details.amount_paid_formatted);
jQuery('#monero_total_due').html(details.amount_due_formatted);
@ -87,7 +87,7 @@ function monero_updateDetails() {
'<a href="'+monero_explorer_url+'/tx/'+tx.txid+'" target="_blank">'+tx.txid+'</a>'+
'</td>'+
'<td>'+height+'</td>'+
'<td>'+tx.amount_formatted+' Monero</td>'+
'<td>'+tx.amount_formatted+' Wownero</td>'+
'</tr>';
jQuery('#monero_tx_table tbody').append(row);
@ -110,7 +110,7 @@ function monero_updateDetails() {
}
}
if(is_new_tx) {
monero_showNotification('Transaction received for '+new_txs[i].amount_formatted+' Monero');
monero_showNotification('Transaction received for '+new_txs[i].amount_formatted+' Wownero');
}
}
}