Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 605: Line 605:
 
                                 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') {
+
 
                                out += '<small><span class="badge badge-danger">Used by practitioners</span></small>';
 
                                out += ' <small><span class="badge badge-warning">Use case</span></small>'
 
                            }
 
 
                             return out;
 
                             return out;
 
                         }
 
                         }
Line 739: Line 736:
 
                     }
 
                     }
 
                     if (filter.type.usedByDmo) {
 
                     if (filter.type.usedByDmo) {
                         summaryHtml += '<tr><td><strong>Used by practitioners</strong></td><td>'
+
                         summaryHtml += '<tr><td><strong>Used by practitioners</strong></td><td>Yes</td></tr>';
                            + filter.type.usedByDmo
 
                            + '</td></tr>';
 
 
                     }
 
                     }
 
                     summaryHtml += '</table>';
 
                     summaryHtml += '</table>';

Revision as of 17:44, 7 December 2022

Current version of the DCT List.
Not ready for production!