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/routing/wp-list/wp.list.html

96 lines
3.9 KiB

<div class="toolbar-container">
<div wp-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 hidden-for-mobile">
<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 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 hidden-for-mobile" feature-flag="detailsView">
<ul id="work-packages-view-mode-selection" class="toolbar-button-group">
<li>
<wp-list-view-button disabled="editAll.state"
project-identifier="projectIdentifier"></wp-list-view-button>
</li>
<li feature-flag="detailsView">
<wp-details-view-button
next-wp-func="nextAvailableWorkPackage"></wp-details-view-button>
</li>
<li>
<wp-view-button next-wp-func="nextAvailableWorkPackage"></wp-view-button>
</li>
</ul>
</li>
<li class="toolbar-item hidden-for-mobile">
<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-show-more"></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="loadingIndicator.mainPage"
ng-class="{'edit-all-mode': editAll.state}">
10 years ago
<div class="work-packages--list">
<div class="work-packages--list-table-area">
<wp-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)">
</wp-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>