superdesk/superdesk-client-core

View on GitHub
scripts/apps/monitoring/views/monitoring-group.html

Summary

Maintainability
Test Coverage
<div ng-class="{
        stage: !viewColumn,
        'sd-kanban-list__board': viewColumn,
    }"
    data-test-id="monitoring-group"
    data-test-value="{{group.header}}{{group.subheader ? ' / ' : ''}}{{group.subheader}}"
>

    <div sd-monitoring-group-header
        class="column-header"
        ng-class="{'sd-kanban-list__board-header': viewColumn}"
        ng-if="group.header && viewType !== 'single_monitoring'">
    </div>

    <div ng-class="{
        'sd-kanban-list__board-content': viewColumn,
    }">
        <div sd-items-list class="group stage-content"
            ng-class="{
                refresh: showRefresh,
                'sd-grid-group': view === 'photogrid',
                'sd-shadow--z1': viewColumn,
                'sd-list-item-group': viewColumn,
            }"
            data-style="styleProperties"
            data-hide-actions-for-monitoring-items="hideActionsForMonitoringItems"
            data-disable-monitoring-multi-select="disableMonitoringMultiSelect"
            on-monitoring-item-select="onMonitoringItemSelect"
            on-monitoring-item-double-click="onMonitoringItemDoubleClick"></div>
    </div>
</div>