diff options
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -63,7 +63,11 @@ function display(proposals) { const link = newEl('a', proposal.name || proposal.page_title); link.href = 'https://wiki.openstreetmap.org/wiki/' + proposal.page_title.replaceAll(' ', '_'); - row.appendChild(newEl('td', link)); + + const nameCell = newEl('td', link); + if (proposal.lang) + nameCell.appendChild(document.createTextNode(` (${proposal.lang})`)); + row.appendChild(nameCell); row.appendChild(newEl('td', proposal.authors)); tbody.appendChild(row); |