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/components/routes/partials/work-packages.list.html

132 lines
5.9 KiB

<div class="toolbar-container">
<div toolbar class="toolbar">
<selectable-title focus
selected-title="selectedTitle"
groups="groups"
transition-method="loadQuery">
</selectable-title>
<ul class="toolbar-items">
<li class="toolbar-item">
<wp-create-button project-identifier="projectIdentifier"
state-name="work-packages.list.new"></wp-create-button>
</li>
<li class="toolbar-item">
<label for="work-packages-filter-toggle-button" class="hidden-for-sighted">
{{ getToggleActionLabel(showFiltersOptions) + ' ' + I18n.t('js.button_filter') }}
</label>
<button id="work-packages-filter-toggle-button"
ng-disabled="editAll.state"
class="button"
title="{{ getToggleActionLabel(showFiltersOptions) + ' ' + I18n.t('js.button_filter') }}"
ng-click="toggleShowFilterOptions()"
ng-class="{ '-active': showFiltersOptions }">
<i class="icon-filter-big button--icon"></i>
<span class="button--text" ng-bind="::I18n.t('js.toolbar.filter')"></span>
<span class="badge -secondary">{{ getFilterCount() }}</span>
</button>
</li>
<li class="toolbar-item" feature-flag="detailsView">
<ul id="work-packages-view-mode-selection" class="toolbar-button-group">
<li>
<label for="work-packages-list-view-button"
ng-attr-accesskey="{{ !isDetailsViewActive() ? undefined : '8' }}"
class="hidden-for-sighted">
{{ getActivationActionLabel(isDetailsViewActive()) + ' ' + I18n.t('js.button_list_view') }}
</label>
<button id="work-packages-list-view-button"
ng-disabled="editAll.state"
class="button"
title="{{ getActivationActionLabel(isDetailsViewActive()) + ' ' + I18n.t('js.button_list_view') }}"
ng-click="closeDetailsView()"
ng-class="{ '-active': !isDetailsViewActive() }">
<i class="icon-list-view button--icon"></i>
</button>
</li>
<li feature-flag="detailsView">
<label for="work-packages-details-view-button"
ng-attr-accesskey="{{ isDetailsViewActive() ? undefined : '8' }}"
class="hidden-for-sighted">
{{ getActivationActionLabel(!isDetailsViewActive()) + ' ' + I18n.t('js.button_details_view') }}
</label>
<button class="hide"
ng-click="openOverviewTab()"></button>
<button id="work-packages-details-view-button"
class="button"
title="{{ getActivationActionLabel(!isDetailsViewActive()) + ' ' + I18n.t('js.button_details_view') }}"
ng-class="{ '-active': isDetailsViewActive() }"
ng-click="openLatestTab()">
<i class="icon-split-view button--icon"></i>
</button>
</li>
<li>
<label for="work-packages-show-view-button"
ng-attr-accesskey="{{ isShowViewActive() ? undefined : '9' }}"
class="hidden-for-sighted">
{{ getActivationActionLabel(!isShowViewActive()) + ' ' + I18n.t('js.button_show_view') }}
</label>
<button id="work-packages-show-view-button"
class="button"
title="{{ getActivationActionLabel(!isShowViewActive()) + ' ' + I18n.t('js.button_show_view') }}"
ng-click="showWorkPackageShowView()"
ng-class="{ '-active': isShowViewActive() }">
<i class="icon-fullscreen-view button--icon"></i>
</button>
</li>
</ul>
</li>
<li class="toolbar-item">
<label for="work-packages-settings-button" class="hidden-for-sighted">
{{ I18n.t('js.button_settings') }}
</label>
<button id="work-packages-settings-button"
ng-disabled="editAll.state"
title="{{ I18n.t('js.button_settings') }}"
class="button last work-packages-settings-button"
has-dropdown-menu
target="SettingsDropdownMenu"
locals="query">
<i class="button--icon icon-settings"></i>
<i class="button--dropdown-indicator"></i>
</button>
</li>
</ul>
</div>
</div>
<div class="work-packages--filters-optional-container" ng-show="showFiltersOptions">
<div query-form id="query_form_content" class="hide-when-print">
<query-filters></query-filters>
</div>
</div>
<back-url></back-url>
<div class="work-packages--split-view" cg-busy="[settingUpPage,refreshWorkPackages]"
ng-class="{'edit-all-mode': editAll.state}">
10 years ago
<div class="work-packages--list">
<div class="work-packages--list-table-area">
<work-packages-table ng-if="rows && columns"
project-identifier="projectIdentifier"
columns="columns"
rows="rows"
query="query"
group-by="query.groupBy"
group-by-column="groupByColumn"
count-by-group="workPackageCountByGroup"
display-sums="query.displaySums"
total-sums="totalSums"
group-sums="groupSums"
activation-callback="showWorkPackageDetails(id, force)">
</work-packages-table>
</div>
<div class="work-packages--list-pagination-area">
<table-pagination total-entries="totalEntries">
</table-pagination>
</div>
</div>
<div class="work-packages--details" ui-view ng-show="workPackage"
feature-flag="detailsView"></div>
</div>