Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 586: | Line 586: | ||
const dct = cell.getData(); | const dct = cell.getData(); | ||
let out = '<a href="' + dct.url + '">' + dct.name + '</a><br>'; | let out = '<a href="' + dct.url + '">' + dct.name + '</a><br>'; | ||
if (dct.archived.toLowerCase() === 'yes') { | |||
out += '<small><span class="badge lcc-badge-grey">Archived</span></small> '; | |||
} | |||
if (dct.businessModel.includes(FREE_KEY)) { | if (dct.businessModel.includes(FREE_KEY)) { | ||
out += '<small><span class="badge lcc-badge-green">' + FREE_KEY + '</span></small> '; | out += '<small><span class="badge lcc-badge-green">' + FREE_KEY + '</span></small> '; |
Revision as of 11:12, 3 August 2023
DCT list widget.
Currently in use – do not modify!