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

57 lines
2.0 KiB

<div id="query_form_content" class="hide-when-print">
<query-filters></query-filters>
<!-- options angular, under construction -->
<fieldset id="options"
query-form id="column_options"
class="header_collapsible collapsible"
ng-class="{collapsed: !showQueryOptions }">
<legend title="{{ showQueryOptions && I18n.t('js.work_packages.description_options_hide') || I18n.t('js.work_packages.description_options_show') }}"
ng-click="showQueryOptions = !showQueryOptions">
<a href="#">
<span>{{ I18n.t('js.work_packages.label_options') }}</span>
<span class="hidden-for-sighted">{{ showQueryOptions ? I18n.t('js.label_expanded') : I18n.t('js.label_collapsed') }}</span>
</a>
</legend>
<div slide-toggle collapsed="!showQueryOptions" class="tabular">
<div class="horizontal_margin">
<label for='available_columns' class='header'>
{{ I18n.t('js.work_packages.query.column_names') }}
</label>
</div>
<div class="horizontal_margin">
<query-columns></query-columns>
</div>
<div class="horizontal_margin">
<label for='group_by' class='header'>
{{ I18n.t('js.work_packages.query.group_by') }}
</label>
</div>
<div class="horizontal_margin">
<select id="group_by"
name="group_by"
ng-model="query.group_by">
<option value=""></option>
<option ng-repeat="column in columns" value="{{ column.name }}">{{ column.title }}</option>
</select>
</div>
<div class="horizontal_margin">
<label for='display_sums' class='header'>
{{ I18n.t('js.work_packages.query.display_sums') }}
</label>
</div>
<div class="horizontal_margin">
<input id="display_sums"
name="display_sums"
type="checkbox"
value="1"
ng-model="query.display_sums"/>
</div>
</div>
</fieldset>
</div>