Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 516: Line 516:
 
                             let out = '<a href="' + dct.url + '">' + dct.name + '</a><br>';
 
                             let out = '<a href="' + dct.url + '">' + dct.name + '</a><br>';
 
                             if (dct.businessModel.includes('Freeware')) {
 
                             if (dct.businessModel.includes('Freeware')) {
                                 out += '<small><span class="badge badge-success">Freeware</span></small>';
+
                                 out += '<small><span class="badge badge-success">Freeware</span></small> ';
 
                             }
 
                             }
 
                             if (dct.businessModel.includes('Free plan available')) {
 
                             if (dct.businessModel.includes('Free plan available')) {
                                 out += '<small><span class="badge badge-success">Free plan</span></small>';
+
                                 out += '<small><span class="badge badge-success">Free plan</span></small> ';
 
                             }
 
                             }
 
                             if (dct.usedByDmo.toLowerCase() === 'yes') {
 
                             if (dct.usedByDmo.toLowerCase() === 'yes') {
                                 out += '<small><span class="badge badge-danger">Used by practitioners</span></small>';
+
                                 out += '<small><span class="badge badge-danger">Used by practitioners</span></small> ';
 
                             }
 
                             }
 
                             if (dct.usedByDmo.toLowerCase() === 'yes with use case') {
 
                             if (dct.usedByDmo.toLowerCase() === 'yes with use case') {

Revision as of 11:56, 21 September 2022

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