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/columns.html

31 lines
1.2 KiB

<div class="ng-modal-window">
<div class="ng-modal-inner">
<div class="modal-header"><i class="icon-close" ng-click="modal.closeMe()"></i></div>
<h3>{{ I18n.t('js.label_columns') }}</h3>
<div cg-busy="vm.promise" class="columns-modal-content">
<label for="selected_columns" class="hidden-for-sighted">{{ I18n.t('js.description_selected_columns') }}</label>
<ui-select multiple sortable="true" ng-model="vm.selectedColumns" theme="select2" id="selected_columns" focus>
<ui-select-match>
{{$item.title}}
</ui-select-match>
<ui-select-choices repeat="column in vm.availableColumns | filter: { title: $select.search }">
<div ng-bind-html="column.title | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
<i class="icon icon-help1" data-tooltip="{{ I18n.t('js.work_packages.label_column_multiselect') }}"></i>
</div>
<div>
<button class="button -highlight" ng-click="updateSelectedColumns()">
{{ I18n.t('js.modals.button_apply') }}
</button>
<button class="button" ng-click="modal.closeMe()">
{{ I18n.t('js.modals.button_cancel') }}
</button>
</div>
</div>
</div>