Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
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 : '';
                             return url ? prev + '<img class="data-source-img" src="' + url + '">' : prev + ' ' + curr;
                            let xxx = 'https://links.communitycenter.eu/index.php/Special:FilePath/TwitterBird.svg'
                             return url ? prev + '<img class="data-source-img" src="' + xxx + '">' : prev + ' ' + curr;
                         }, '');
                         }, '');
                         return output;
                         return output;

Revision as of 14:22, 7 June 2022

Development verstion of the DCT List.
Not ready for production!