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/context-menus/wp-context-menu/wp-context-menu.service.html

30 lines
1.3 KiB

<div id="work-package-context-menu" class="action-menu dropdown" role="menu">
<ul class="dropdown-menu">
<li ng-if="row.object.isNew" class="open detailsViewMenuItem">
<a role="menuitem" focus ng-click="cancelInlineCreate($index, row)">
<op-icon icon-classes="icon-action-menu icon-delete"></op-icon>
<span ng-bind="I18n.t('js.button_cancel')"/>
</a>
</li>
<li ng-if="!row.object.isNew" class="open detailsViewMenuItem">
<a role="menuitem" focus ui-sref="work-packages.list.details.overview({workPackageId: row.object.id})">
<op-icon icon-classes="icon-action-menu view-split"></op-icon>
<span ng-bind="I18n.t('js.button_open_details')"/>
</a>
</li>
<li ng-if="!row.object.isNew" class="openFullScreenView">
<a role="menuitem" ui-sref="work-packages.show({workPackageId: row.object.id})">
<op-icon icon-classes="icon-action-menu icon-view-fullscreen"></op-icon>
<span ng-bind="I18n.t('js.button_open_fullscreen')"/>
</a>
</li>
<li ng-repeat="action in permittedActions"
class="{{action.icon}}">
<a role="menuitem" href="" ng-click="triggerContextMenuAction(action.icon, action.link)">
<op-icon icon-classes="icon-action-menu icon-{{action.icon}}"></op-icon>
<span ng-bind="action.text"/>
</a>
</li>
</ul>
</div>