Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 585: | Line 585: | ||
/** @type {DCT} */ | /** @type {DCT} */ | ||
const dct = cell.getData(); | const dct = cell.getData(); | ||
let out = '<a href="' + dct.url + '">' + dct.name + '</a><br>'; | let out = '<a href="' + dct.url + '" translate="no">' + dct.name + '</a><br>'; | ||
if (dct.archived.toLowerCase() === 'yes') { | if (dct.archived.toLowerCase() === 'yes') { | ||
out += '<small><span class="badge lcc-badge-grey">Archived</span></small> '; | out += '<small><span class="badge lcc-badge-grey">Archived</span></small> '; |
Revision as of 14:30, 19 December 2023
DCT list widget.
Currently in use – do not modify!