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

51 lines
1.7 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="{{ I18n.t('js.work_packages.description_option_toggle') }}", ng-click="showQueryOptions = !showQueryOptions"><a ng-href="">{{ I18n.t('js.work_packages.label_options') }}</a></legend>
<div ng-show="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-options="column.name as column.title for column in columns"
ng-model="groupBy">
</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>