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 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 16:44, 7 December 2022

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