salix/front/core/components/multi-check/multi-check.html

24 lines
649 B
HTML
Raw Normal View History

<vn-check
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.checked"
2020-09-01 13:13:33 +00:00
indeterminate="$ctrl.isIndeterminate"
translate-attr="{title: 'Check all'}">
</vn-check>
<vn-icon-button
class="vn-pl-none"
2022-04-13 06:15:47 +00:00
ng-if="$ctrl.checked && $ctrl.checkDummyEnabled"
icon="expand_more"
vn-popover="menu"
ng-click="$ctrl.countRows()">
</vn-icon-button>
<vn-menu vn-id="menu">
2022-04-13 06:15:47 +00:00
<vn-list>
<span translate>All</span>
<span class="bold">
{{$ctrl.rows}}
</span>
<span translate>row(s) have been selected.</span>
2022-04-13 06:15:47 +00:00
<span class="bold link" ng-click="$ctrl.checkDummy()">
{{$ctrl.allRowsText}}
</span>
</vn-list>
</vn-menu>