superdesk/superdesk-client-core

View on GitHub
scripts/apps/authoring/metadata/views/prefered-cv-items-config.html

Summary

Maintainability
Test Coverage
<div class="prefered-cv-items form__row" ng-repeat="cv in cvs track by cv._id">
    <label class="form-label">{{ :: cv.display_name }}</label>
    <div sd-meta-terms
        class="sd-line-input__select"
        data-item="updates"
        data-field="{{ cv._id }}"
        data-list="cv.items"
        data-unique="qcode"
        data-header="true"
        data-change="updateModel()"
        data-reload-list="true"
    />
</div>
<div ng-show="cvs.length === 0" class="sd-alert sd-alert--hollow">
    <p translate>There are no vocabularies configured.</p>
</div>