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

26 lines
672 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-05-13 10:14:37 +00:00
ng-if="$ctrl.isCheckedDummy()"
icon="expand_more"
vn-popover="menu"
ng-click="$ctrl.countRows()">
</vn-icon-button>
2022-05-13 10:14:37 +00:00
<vn-menu
vn-id="menu"
ng-if="$ctrl.isCheckedDummy()">
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>