harbor/static/resources/js/components/user/toggle-admin.directive.html

2 lines
216 B
HTML
Raw Normal View History

2016-05-13 12:48:06 +02:00
<button ng-show="vm.isAdmin" class="btn btn-success" ng-click="vm.toggle()">// 'button_on' | tr //</button>
<button ng-show="!vm.isAdmin" class="btn btn-danger" ng-click="vm.toggle()">// 'button_off' | tr //</button>