Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 550: Line 550:
                 if (
                 if (
                     !filter.type.functions &&
                     !filter.type.functions &&
                     !filter.type.dataSources
                     !filter.type.dataSources &&
                    !filter.type.businessModel
                 ) { summary.textContent = 'No filter. Showing all results.'; }
                 ) { summary.textContent = 'No filter. Showing all results.'; }
                 else {
                 else {
Line 562: Line 563:
                         summaryHtml += '<tr><td><strong>Platforms</strong></td><td>'
                         summaryHtml += '<tr><td><strong>Platforms</strong></td><td>'
                             + (filter.type.dataSources.length > 0 ? filter.type.dataSources.join(', ') : 'none')
                             + (filter.type.dataSources.length > 0 ? filter.type.dataSources.join(', ') : 'none')
                            + '</td></tr>';
                    }
                    if (filter.type.businessModel) {
                        summaryHtml += '<tr><td><strong>Business model</strong></td><td>'
                            + (filter.type.businessModel.length > 0 ? filter.type.businessModel.join(', ') : 'none')
                             + '</td></tr>';
                             + '</td></tr>';
                     }
                     }

Revision as of 14:43, 12 September 2022

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