mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Update: Currency (Network) - open proposal details in new tab
This commit is contained in:
parent
6211f7958b
commit
9a208b47a7
1 changed files with 1 additions and 6 deletions
|
@ -141,7 +141,6 @@ description: pages.currency.description
|
|||
});
|
||||
});
|
||||
|
||||
|
||||
// Get the current number of masternodes.
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/masternodes/stats/"
|
||||
|
@ -155,7 +154,6 @@ description: pages.currency.description
|
|||
$("#masternodes_max").text(masternodes_max);
|
||||
});
|
||||
|
||||
|
||||
// Get the budget proposals
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/budgets/"
|
||||
|
@ -173,14 +171,11 @@ description: pages.currency.description
|
|||
amount_monthly = formatCurrency(proposal.monthly_amount)
|
||||
will_be_funded = proposal.will_be_funded ? "yes" : "no";
|
||||
|
||||
|
||||
|
||||
$("#budgets>tbody").append('<tr><td data-header="Title"><a href="' + url + '">' + title + '</a></td><td data-header="Owner">' + owner + '</td><td data-header="Votes (yes/no)">' + votes_yes + '/' + votes_no + '</td><td data-header="Votes Required">' + required_votes + '</td><td data-header="Monthly Amount">' + amount_monthly + '</td><td data-header="Will be Funded">' + will_be_funded + '</td></tr>');
|
||||
$("#budgets>tbody").append('<tr><td data-header="Title"><a href="' + url + '" target="_blank">' + title + '</a></td><td data-header="Owner">' + owner + '</td><td data-header="Votes (yes/no)">' + votes_yes + '/' + votes_no + '</td><td data-header="Votes Required">' + required_votes + '</td><td data-header="Monthly Amount">' + amount_monthly + '</td><td data-header="Will be Funded">' + will_be_funded + '</td></tr>');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
// Get the blockchain info
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/chain/latestBlocks/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue