superdesk/superdesk-client-core

View on GitHub
scripts/apps/archive/views/archived-kill.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 class="modal__heading">{{ :: action === 'kill' && 'Kill Item' || 'Takedown Item' | translate}}</h3>
    </div>

    <div class="modal__body">
        <form name="templateForm">
            <div class="main-article">
                <div class="fieldset" sd-article-edit></div>
            </div>
        </form>
    </div>

    <div class="modal__footer">
        <button class="btn" ng-click="cancel()" translate>Cancel</button>
        <button class="btn btn--primary" ng-click="kill()" >{{ :: action === 'kill' && 'Kill' || 'Takedown' | translate}}</button>
    </div>
</div>