<!-- Hack to assign different values to the "ontext" property which is interpreted as an event handler due to the name -->
<span>
	<cla-toggle-switch ng-if="$ctrl.labels !== 'showhide'" lmsg="ontext:projects.details.grouped" offtext="{{$ctrl.offLabel()}}" large="{{$ctrl.large}}" ng-attr-checked="{{$ctrl.ngModel?true:undefined}}" name="{{$ctrl.name}}" ng-attr-disabled="{{$ctrl.disabled?true:undefined}}" ng-on-selected="$ctrl.onToggledOn($event)" ng-on-unselected="$ctrl.onToggledOff($event)" ng-transclude></cla-toggle-switch>
	<cla-toggle-switch ng-if="$ctrl.labels === 'showhide'" lmsg="ontext:projects.details.show" offtext="{{$ctrl.offLabel()}}" large="{{$ctrl.large}}" ng-attr-checked="{{$ctrl.ngModel?true:undefined}}" name="{{$ctrl.name}}" ng-attr-disabled="{{$ctrl.disabled?true:undefined}}" ng-on-selected="$ctrl.onToggledOn($event)" ng-on-unselected="$ctrl.onToggledOff($event)" ng-transclude></cla-toggle-switch>
</span>
