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/templates/work_packages/modals/group_by.html

32 lines
1.4 KiB

<div class="ng-modal-window">
<div class="ng-modal-inner">
<div class="modal-header"><i class="icon-close" ng-click="modal.closeMe()" title="{{ ::I18n.t('js.close_popup_title') }}"></i></div>
<h3>{{ ::I18n.t('js.label_group_by') }}</h3>
<div>
<ui-select ng-model="vm.selectedColumnName" theme="select2" focus id="selected_columns_new" aria-labelledby="column_select_description">
<ui-select-match>{{$select.selected.title}}</ui-select-match>
<ui-select-choices repeat="column.name as column in vm.groupableColumns | filter: { title: $select.search } | orderBy:'title'">
<div ng-bind-html="column.title | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
<span class="tooltip--right -multiline" tabindex="0" data-tooltip="{{ ::I18n.t('js.work_packages.label_column_select') }}" aria-labelledby="column_select_description">
<i class="icon icon-help1"></i>
</span>
<div id="column_select_description" class="hidden-for-sighted">
{{ ::I18n.t('js.work_packages.label_column_select') }}
</div>
</div>
<div>
<button class="button -highlight" ng-click="updateGroupBy()">
{{ ::I18n.t('js.modals.button_apply') }}
</button>
<button class="button" ng-click="modal.closeMe()">
{{ ::I18n.t('js.modals.button_cancel') }}
</button>
</div>
</div>
</div>