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/public/templates/work_packages/column_context_menu.html

58 lines
1.9 KiB

<div id="column-context-menu"
class="action-menu dropdown-relative"
ng-class="{'dropdown-anchor-right': column && column.name !== 'id'}">
<ul class="menu">
<li ng-if="canSort()" ng-click="sortAscending(column.name)">
<a focus href>
<i class="icon-action-menu icon-sort-ascending"></i>
<span ng-bind="I18n.t('js.work_packages.query.sort_ascending')"/>
</a>
</li>
<li ng-if="canSort()" ng-click="sortDescending(column.name)">
<i class="icon-action-menu icon-sort-descending"></i>
<a href>
<span ng-bind="I18n.t('js.work_packages.query.sort_descending')"/>
</a>
</li>
<li ng-click="groupBy(column.name)"
ng-if="isGroupable">
<i class="icon-action-menu icon-group-by2"></i>
<a focus="focusFeature('group')" href>
<span ng-bind="I18n.t('js.work_packages.query.group')"/>
</a>
</li>
<li ng-click="moveLeft(column.name)"
ng-if="canMoveLeft()">
<i class="icon-action-menu icon-column-left"></i>
<a focus="focusFeature('moveLeft')" href>
<span ng-bind="I18n.t('js.work_packages.query.move_column_left')"/>
</a>
</li>
<li ng-click="moveRight(column.name)"
ng-if="canMoveRight()">
<i class="icon-action-menu icon-column-right"></i>
<a focus="focusFeature('moveRight')" href>
<span ng-bind="I18n.t('js.work_packages.query.move_column_right')"/>
</a>
</li>
<li ng-if="canBeHidden()"
ng-click="hideColumn(column.name)">
<i class="icon-action-menu icon-delete2"></i>
<a focus="focusFeature('hide')" href>
<span ng-bind="I18n.t('js.work_packages.query.hide_column')"/>
</a>
</li>
<li ng-click="insertColumns()">
<i class="icon-action-menu icon-columns"></i>
<a focus="focusFeature('insert')" href>
<span ng-bind="I18n.t('js.work_packages.query.insert_columns')"/>
</a>
</li>
</ul>
</div>