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 670: Line 670:
                         } else {
                         } else {
                             for (const [cat, subs] of filter.type.functions) {
                             for (const [cat, subs] of filter.type.functions) {
                                 summaryHtml += cat + ' <small>(' + subs.join(', ') + ')</small>, ';
                                 summaryHtml += cat;
                                summaryHtml += subs.length > 0 ? ' <small>(' + subs.join(', ') + ')</small>' : '';
                                summaryHtml += ', ';
                             }
                             }
                             summaryHtml = summaryHtml.substring(0, summaryHtml.length - 2);
                             summaryHtml = summaryHtml.substring(0, summaryHtml.length - 2);

Revision as of 15:46, 21 November 2022

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