Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions _includes/feed.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ section: smartContract
render = (data) => {
Comment thread
alexroan marked this conversation as resolved.
let html = '';
for(let network of data["{{stub}}"].networks) {
html += `<h2>${network.name}</h2>`;
console.log(network);
html += `<h2 id="${network.name}">${network.name}</h2>`;

let proxyList = '';
for(let proxy of network.proxies) {
proxyList += `<tr><td><code>${proxy.pair}</code></td><td>${proxy.decimals}</td><td><a href="${network.url}${proxy.proxy}" target="_blank"><code>${proxy.proxy}</code></a></td></tr>`;
proxyList += `<tr id="${network.name} ${proxy.pair}"><td><code>${proxy.pair}</code></td><td>${proxy.decimals}</td><td><a href="${network.url}${proxy.proxy}" target="_blank"><code>${proxy.proxy}</code></a></td></tr>`;
}
html += `<table><thead><tr><th>Pair</th><th>Dec</th><th>Proxy</th></tr></thead><tbody>${proxyList}</tbody></table>`;
}
Expand Down