Add a counter of supported currencies
This commit is contained in:
parent
8c6c8272c8
commit
1fca4f4a34
4 changed files with 10 additions and 4 deletions
|
@ -9787,7 +9787,7 @@ h1 { margin: 0px; height: 91px; }
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="supportedCurrenciesChecklist">
|
<div class="supportedCurrenciesChecklist">
|
||||||
<b id="supportedcurrencylbl" class="i18n">Supported currencies :</b>
|
<b><span id="supportedcurrenciescounter"></span><span id="supportedcurrencylbl" class="i18n">supported currencies !</span></b>
|
||||||
<div id="supportedcurrencies"></div>
|
<div id="supportedcurrencies"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -11064,7 +11064,7 @@ ninja.translator = {
|
||||||
"securitystep6": "Faites un essai avec un montant faible avant de recevoir des paiements importants.",
|
"securitystep6": "Faites un essai avec un montant faible avant de recevoir des paiements importants.",
|
||||||
"securitychecktitle": "Liste de sécurité :",
|
"securitychecktitle": "Liste de sécurité :",
|
||||||
"securitychecklivecd": "Utilisez vous un système d'exploitation garanti sans malware ou virus, comme par exemple un live-CD Ubuntu ?",
|
"securitychecklivecd": "Utilisez vous un système d'exploitation garanti sans malware ou virus, comme par exemple un live-CD Ubuntu ?",
|
||||||
"supportedcurrencylbl": "Monnaies supportées :",
|
"supportedcurrencylbl": "monnaies supportées !",
|
||||||
"paperlabelencrypt": "Chiffrer en BIP38 ?",
|
"paperlabelencrypt": "Chiffrer en BIP38 ?",
|
||||||
"paperlabelBIPpassphrase": "Phrase de passe:",
|
"paperlabelBIPpassphrase": "Phrase de passe:",
|
||||||
"bulklabelstartindex": "Index de départ:",
|
"bulklabelstartindex": "Index de départ:",
|
||||||
|
@ -12306,13 +12306,16 @@ select.innerHTML = options;
|
||||||
// populate supported currency list
|
// populate supported currency list
|
||||||
var supportedcurrencies = document.getElementById("supportedcurrencies");
|
var supportedcurrencies = document.getElementById("supportedcurrencies");
|
||||||
var currencieslist = "";
|
var currencieslist = "";
|
||||||
|
j = 0;
|
||||||
for(i = 0; i < janin.currencies.length; i++) {
|
for(i = 0; i < janin.currencies.length; i++) {
|
||||||
if(janin.currencies[i].donate == null)
|
if(janin.currencies[i].donate == null)
|
||||||
continue;
|
continue;
|
||||||
currencieslist += "<a href='?currency="+janin.currencies[i].name;
|
currencieslist += "<a href='?currency="+janin.currencies[i].name;
|
||||||
currencieslist += "'>"+janin.currencies[i].name+"</a> ";
|
currencieslist += "'>"+janin.currencies[i].name+"</a> ";
|
||||||
|
j++;
|
||||||
}
|
}
|
||||||
supportedcurrencies.innerHTML = currencieslist;
|
supportedcurrencies.innerHTML = currencieslist;
|
||||||
|
document.getElementById("supportedcurrenciescounter").innerHTML = j.toString() + " ";
|
||||||
// populate donate list
|
// populate donate list
|
||||||
document.getElementById("donateqrcode").style.display = "none";
|
document.getElementById("donateqrcode").style.display = "none";
|
||||||
var donatelist = document.getElementById("donatelist");
|
var donatelist = document.getElementById("donatelist");
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"securitystep6": "Faites un essai avec un montant faible avant de recevoir des paiements importants.",
|
"securitystep6": "Faites un essai avec un montant faible avant de recevoir des paiements importants.",
|
||||||
"securitychecktitle": "Liste de sécurité :",
|
"securitychecktitle": "Liste de sécurité :",
|
||||||
"securitychecklivecd": "Utilisez vous un système d'exploitation garanti sans malware ou virus, comme par exemple un live-CD Ubuntu ?",
|
"securitychecklivecd": "Utilisez vous un système d'exploitation garanti sans malware ou virus, comme par exemple un live-CD Ubuntu ?",
|
||||||
"supportedcurrencylbl": "Monnaies supportées :",
|
"supportedcurrencylbl": "monnaies supportées !",
|
||||||
"paperlabelencrypt": "Chiffrer en BIP38 ?",
|
"paperlabelencrypt": "Chiffrer en BIP38 ?",
|
||||||
"paperlabelBIPpassphrase": "Phrase de passe:",
|
"paperlabelBIPpassphrase": "Phrase de passe:",
|
||||||
"bulklabelstartindex": "Index de départ:",
|
"bulklabelstartindex": "Index de départ:",
|
||||||
|
|
|
@ -254,7 +254,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="supportedCurrenciesChecklist">
|
<div class="supportedCurrenciesChecklist">
|
||||||
<b id="supportedcurrencylbl" class="i18n">Supported currencies :</b>
|
<b><span id="supportedcurrenciescounter"></span><span id="supportedcurrencylbl" class="i18n">supported currencies !</span></b>
|
||||||
<div id="supportedcurrencies"></div>
|
<div id="supportedcurrencies"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -32,13 +32,16 @@ select.innerHTML = options;
|
||||||
// populate supported currency list
|
// populate supported currency list
|
||||||
var supportedcurrencies = document.getElementById("supportedcurrencies");
|
var supportedcurrencies = document.getElementById("supportedcurrencies");
|
||||||
var currencieslist = "";
|
var currencieslist = "";
|
||||||
|
j = 0;
|
||||||
for(i = 0; i < janin.currencies.length; i++) {
|
for(i = 0; i < janin.currencies.length; i++) {
|
||||||
if(janin.currencies[i].donate == null)
|
if(janin.currencies[i].donate == null)
|
||||||
continue;
|
continue;
|
||||||
currencieslist += "<a href='?currency="+janin.currencies[i].name;
|
currencieslist += "<a href='?currency="+janin.currencies[i].name;
|
||||||
currencieslist += "'>"+janin.currencies[i].name+"</a> ";
|
currencieslist += "'>"+janin.currencies[i].name+"</a> ";
|
||||||
|
j++;
|
||||||
}
|
}
|
||||||
supportedcurrencies.innerHTML = currencieslist;
|
supportedcurrencies.innerHTML = currencieslist;
|
||||||
|
document.getElementById("supportedcurrenciescounter").innerHTML = j.toString() + " ";
|
||||||
// populate donate list
|
// populate donate list
|
||||||
document.getElementById("donateqrcode").style.display = "none";
|
document.getElementById("donateqrcode").style.display = "none";
|
||||||
var donatelist = document.getElementById("donatelist");
|
var donatelist = document.getElementById("donatelist");
|
||||||
|
|
Loading…
Add table
Reference in a new issue