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