Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 91: | Line 91: | ||
const src = dataSources.find(src => src.name === curr); | const src = dataSources.find(src => src.name === curr); | ||
const url = src ? src.image : ''; | const url = src ? src.image : ''; | ||
let xxx = 'https://links.communitycenter.eu/index.php/Special:FilePath/TwitterBird.svg' | let xxx = 'https://links.communitycenter.eu/index.php/Special:FilePath/File:TwitterBird.svg' | ||
return url ? prev + '<img class="data-source-img" src="' + xxx + '">' : prev + ' ' + curr; | return url ? prev + '<img class="data-source-img" src="' + xxx + '">' : prev + ' ' + curr; | ||
}, ''); | }, ''); |
Revision as of 14:22, 7 June 2022
Development verstion of the DCT List.
Not ready for production!