OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/app/components/work-packages/wp-watcher-button/wp-watcher-button.directive...

8 lines
342 B

<button ng-click="vm.toggleWatch()" title="{{ vm.buttonTitle }}" ng-disabled="vm.disabled"
class="button toolbar-icon" ng-class="vm.buttonClass" id="{{ vm.buttonId }}">
<op-icon icon-classes="button--icon {{vm.watchIconClass}}"></op-icon>
<span class="button--text" ng-if="vm.showText" ng-bind="vm.buttonText"></span>
</button>