Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
m (Text replacement - "Subscription" to "Paid subscription")
Line 511: Line 511:
 
                             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-success">Freeware</span></small> ';
+
                                 out += '<small><span class="badge badge-success">' + FREE_KEY + '</span></small> ';
 
                             }
 
                             }
 
                             if (dct.businessModel.includes(FREE_PLAN_KEY)) {
 
                             if (dct.businessModel.includes(FREE_PLAN_KEY)) {
                                 out += '<small><span class="badge badge-success">Free plan</span></small> ';
+
                                 out += '<small><span class="badge badge-success">' + FREE_PLAN_KEY + '</span></small> ';
 
                             }
 
                             }
 
                             if (dct.usedByDmo.toLowerCase() === 'yes') {
 
                             if (dct.usedByDmo.toLowerCase() === 'yes') {

Revision as of 11:15, 16 November 2022

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