superdesk/superdesk-client-core

View on GitHub
scripts/core/activity/views/activity-chooser.html

Summary

Maintainability
Test Coverage
<div sd-modal ng-if="chooser-activities" data-model="chooser.activities" class="activity-choose-modal">
    <ul class="list-group" ng-if="selected">
        <li class="list-group-item" ng-repeat="activity in chooser.activities" ng-click="chooser.resolve(activity)" ng-class="{active: activity === selected}">
            <a href="">{{ activity.label }}</a>
        </li>
    </ul>

    <div class="btn-group">
        <button class="btn btn--inverse" ng-click="chooser.reject()"><i class="icon-close-small icon--white"></i> {{ :: 'Cancel' | translate }}</button>
    </div>
</div>