superdesk/superdesk-client-core

View on GitHub
scripts/apps/archive/views/resend-configuration.html

Summary

Maintainability
Test Coverage
<div sd-modal data-model="item">
    <div class="modal__header">
        <a href="" class="close" ng-click="cancel()"><i class="icon-close-small"></i></a>
        <h3 translate>Resend To</h3>
    </div>

    <div class="modal__body modal__body--add-min-height">
        <fieldset>
            <div class="field" ng-show="customSubscribers">
                <label class="form-label" translate>Select Subscribers</label>
                <div class="term-editor"
                     sd-meta-terms
                     data-item="selectedSubscribers"
                     data-field="items"
                     data-unique="qcode"
                     data-list="customSubscribers"
                     data-header="true"
                     data-reload-list="true"
                     ></div>
            </div>
        </fieldset>
    </div>

    <div class="modal__footer">
        <button id="save-edit-btn" type="submit" class="btn btn--primary pull-right"
            ng-click="resendItem()"
            ng-disabled="selectedSubscribers.items.length == 0" translate>Resend</button>
        <button id="cancel-edit-btn" type="button" class="btn pull-right" ng-click="cancel()" translate>Cancel</button>
    </div>
</div>