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/wp-details/wp-details-toolbar.directiv...

21 lines
1019 B

9 years ago
<div class="work-packages--details-toolbar" ng-hide="wpEditModeState.active && !wpEditModeState.form.isEditable">
<button class="button -highlight" accesskey="3" ng-click="wpEditModeState.start()" ng-disabled="!wpEditModeState.form.isEditable">
<i class="button--icon icon-edit"></i>
<span class="button--text" ng-bind="::I18n.t('js.button_edit')"></span>
</button>
<wp-watcher-button work-package="workPackage"
show-text="true"
disabled="wpEditModeState.active"
ng-if="displayWatchButton">
</wp-watcher-button>
<button class="button dropdown-relative"
ng-disabled="!actionsAvailable"
has-dropdown-menu
accesskey="7"
target="DetailsMoreDropdownMenu"
locals="permittedActions,actionsAvailable,triggerMoreMenuAction">
<span class="button--text" ng-bind="::I18n.t('js.button_more')"></span>
<i class="button--dropdown-indicator"></i>
</button>
</div>