Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 478: Line 478:
 
                             let out = '<a href="' + dct.url + '">' + dct.name + '</a>';
 
                             let out = '<a href="' + dct.url + '">' + dct.name + '</a>';
 
                             if (dct.businessModel.includes('Freeware')) {
 
                             if (dct.businessModel.includes('Freeware')) {
                                 out += '<svg class="bm-icon"><use href="#freeware-icon"/></svg>';
+
                                 out += '<svg class="bm-icon" title="Freeware"><use href="#freeware-icon"/></svg>';
 
                             }
 
                             }
 
                             if (dct.businessModel.includes('Free plan available')) {
 
                             if (dct.businessModel.includes('Free plan available')) {
                                 out += '<svg class="bm-icon"><use href="#free-plan-icon"/></svg>';
+
                                 out += '<svg class="bm-icon" title="Free plan available"><use href="#free-plan-icon"/></svg>';
 +
                            }
 +
                            if (dct.usedByDmo.toLowerCase() === 'yes') {
 +
                                out += ' [DMO] ';
 
                             }
 
                             }
 
                             return out;
 
                             return out;

Revision as of 11:59, 13 September 2022

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