kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
171 lines
8.0 KiB
171 lines
8.0 KiB
11 years ago
|
<div class="toolbar-container">
|
||
|
<div toolbar id="toolbar">
|
||
10 years ago
|
<selectable-title focus
|
||
|
selected-title="selectedTitle"
|
||
11 years ago
|
groups="groups"
|
||
10 years ago
|
transition-method="loadQuery">
|
||
11 years ago
|
</selectable-title>
|
||
|
|
||
|
<ul id="toolbar-items">
|
||
|
<li class="toolbar-item">
|
||
11 years ago
|
<button class="button_highlight"
|
||
|
with-dropdown
|
||
|
dropdown-id="tasksDropdown"
|
||
11 years ago
|
ng-disabled="cannot('work_package', 'create')">
|
||
11 years ago
|
<i class="icon-add icon4"></i>
|
||
|
{{ I18n.t('js.toolbar.unselected_title') }}
|
||
|
<i class="icon-pulldown-arrow1 icon-dropdown"></i>
|
||
|
</button>
|
||
|
</li>
|
||
|
<li class="toolbar-item">
|
||
10 years ago
|
<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"
|
||
|
class="button"
|
||
|
title="{{ getToggleActionLabel(showFiltersOptions) + ' ' + I18n.t('js.button_filter') }}"
|
||
10 years ago
|
ng-click="toggleShowFilterOptions()"
|
||
11 years ago
|
ng-class="{active: showFiltersOptions}">
|
||
|
<i class="icon-filter-big icon-buttons"></i>{{ I18n.t('js.toolbar.filter') }}
|
||
|
</button>
|
||
|
</li>
|
||
|
<li class="toolbar-item" feature-flag="detailsView">
|
||
|
<ul id="work-packages-view-mode-selection" class="toolbar-button-group">
|
||
|
<li>
|
||
10 years ago
|
<label for="work-packages-list-view-button" class="hidden-for-sighted">
|
||
10 years ago
|
{{ getActivationActionLabel(isDetailsViewActive()) + ' ' + I18n.t('js.button_list_view') }}
|
||
10 years ago
|
</label>
|
||
|
<button id="work-packages-list-view-button"
|
||
|
class="button"
|
||
10 years ago
|
title="{{ getActivationActionLabel(isDetailsViewActive()) + ' ' + I18n.t('js.button_list_view') }}"
|
||
10 years ago
|
ng-click="closeDetailsView()"
|
||
10 years ago
|
ng-class="{ active: !isDetailsViewActive() }">
|
||
11 years ago
|
<i class="icon-table-view icon-buttons"></i>
|
||
|
</button>
|
||
|
</li>
|
||
|
<li feature-flag="detailsView">
|
||
10 years ago
|
<label for="work-packages-details-view-button" class="hidden-for-sighted">
|
||
10 years ago
|
{{ getActivationActionLabel(!isDetailsViewActive()) + ' ' + I18n.t('js.button_details_view') }}
|
||
10 years ago
|
</label>
|
||
|
<button id="work-packages-details-view-button"
|
||
|
class="button"
|
||
10 years ago
|
title="{{ getActivationActionLabel(!isDetailsViewActive()) + ' ' + I18n.t('js.button_details_view') }}"
|
||
10 years ago
|
ng-class="{ active: isDetailsViewActive() }"
|
||
11 years ago
|
ng-click="openLatestTab()">
|
||
11 years ago
|
<i class="icon-table-detail-view icon-buttons"></i>
|
||
|
</button>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li class="toolbar-item">
|
||
10 years ago
|
<label for="work-packages-settings-button" class="hidden-for-sighted">
|
||
|
{{ I18n.t('js.button_settings') }}
|
||
|
</label>
|
||
10 years ago
|
<button id="work-packages-settings-button"
|
||
|
title="{{ I18n.t('js.button_settings') }}"
|
||
10 years ago
|
class="button last work-packages-settings-button"
|
||
10 years ago
|
with-dropdown dropdown-id="settingsDropdown">
|
||
11 years ago
|
<i class="icon-settings"></i>
|
||
|
<i class="icon-pulldown-arrow1 icon-dropdown"></i>
|
||
|
</button>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="dropdown dropdown-relative dropdown-anchor-right" id="tasksDropdown">
|
||
|
<ul class="dropdown-menu">
|
||
10 years ago
|
<li ng-repeat="type in availableTypes">
|
||
|
<a ng-href="{{ workPackageNewPath(type.id) }}">
|
||
|
{{type.name}}
|
||
|
</a>
|
||
|
</li>
|
||
11 years ago
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div options-dropdown class="dropdown dropdown-relative dropdown-anchor-right" id="settingsDropdown">
|
||
10 years ago
|
<!-- The hrefs with empty URLs are necessary for IE10 to focus these links
|
||
|
properly. Thus, don't remove the hrefs or the empty URLs! -->
|
||
11 years ago
|
<ul class="dropdown-menu">
|
||
10 years ago
|
<li><a href="" ng-click="showColumnsModal()"><i class="icon-action-menu icon-columns"></i>{{ I18n.t('js.toolbar.settings.columns') }}</a></li>
|
||
|
<li><a href="" ng-click="showSortingModal()"><i class="icon-action-menu icon-sort-by2"></i>{{ I18n.t('js.toolbar.settings.sort_by') }}</a></li>
|
||
|
<li><a href="" ng-click="showGroupingModal()"><i class="icon-action-menu icon-group-by2"></i>{{ I18n.t('js.toolbar.settings.group_by') }}</a></li>
|
||
10 years ago
|
<li>
|
||
10 years ago
|
<a href="" ng-click="toggleDisplaySums()">
|
||
10 years ago
|
<i ng-if="query.displaySums" class="icon-action-menu icon-yes"></i><i ng-if="!query.displaySums" class="icon-action-menu no-icon"></i>
|
||
|
<accessible-element visible-text="I18n.t('js.toolbar.settings.display_sums')"
|
||
|
readable-text="displaySumsLabel">
|
||
|
</accessible-element>
|
||
|
</a>
|
||
|
</li>
|
||
11 years ago
|
<li class="dropdown-divider"></li>
|
||
10 years ago
|
<li><a href="" ng-click="saveQuery($event)"
|
||
10 years ago
|
inaccessible-by-tab="(!query.isDirty() && cannot('query', 'update')) || (query.isNew() && cannot('query', 'create'))"
|
||
10 years ago
|
ng-class="{'inactive': (!query.isDirty() && cannot('query', 'update')) || (query.isNew() && cannot('query', 'create'))}">
|
||
11 years ago
|
<i class="icon-action-menu icon-save1"></i>{{ I18n.t('js.toolbar.settings.save') }}</a>
|
||
|
</li>
|
||
10 years ago
|
<li><a href="" ng-click="showSaveAsModal($event)"
|
||
|
inaccessible-by-tab="query.isNew() || cannot('query', 'create')"
|
||
|
ng-class="{'inactive': query.isNew() || cannot('query', 'create')}">
|
||
11 years ago
|
<i class="icon-action-menu icon-save1"></i>{{ I18n.t('js.toolbar.settings.save_as') }}</a>
|
||
|
</li>
|
||
10 years ago
|
<li><a href="" ng-click="deleteQuery($event)"
|
||
|
inaccessible-by-tab="cannot('query', 'delete')"
|
||
|
ng-class="{'inactive': cannot('query', 'delete')}">
|
||
11 years ago
|
<i class="icon-action-menu icon-delete"></i>{{ I18n.t('js.toolbar.settings.delete') }}</a>
|
||
|
</li>
|
||
10 years ago
|
<li><a href="" ng-click="showExportModal($event)"
|
||
|
inaccessible-by-tab="cannot('work_package', 'export')"
|
||
|
ng-class="{'inactive': cannot('work_package', 'export')}">
|
||
11 years ago
|
<i class="icon-action-menu icon-export"></i>{{ I18n.t('js.toolbar.settings.export') }}</a>
|
||
|
</li>
|
||
10 years ago
|
<li><a href="" ng-click="showShareModal($event)"
|
||
|
inaccessible-by-tab="cannot('query', 'publicize') && cannot('query', 'star')"
|
||
|
ng-class="{'inactive': (cannot('query', 'publicize') && cannot('query', 'star'))}">
|
||
11 years ago
|
<i class="icon-action-menu icon-publish"></i>{{ I18n.t('js.toolbar.settings.share') }}</a>
|
||
|
</li>
|
||
10 years ago
|
<li><a href="" ng-click="showSettingsModal($event)"
|
||
|
inaccessible-by-tab="cannot('query', 'update')"
|
||
|
ng-class="{'inactive': cannot('query', 'update')}">
|
||
11 years ago
|
<i class="icon-action-menu icon-settings"></i>{{ I18n.t('js.toolbar.settings.page_settings') }}</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
10 years ago
|
<div class="work-packages--filters-optional-container" ng-show="showFiltersOptions">
|
||
10 years ago
|
<div query-form id="query_form_content" class="hide-when-print">
|
||
|
<query-filters></query-filters>
|
||
|
</div>
|
||
11 years ago
|
</div>
|
||
|
|
||
|
<back-url></back-url>
|
||
|
|
||
|
|
||
11 years ago
|
<div class="work-packages--split-view">
|
||
10 years ago
|
<div class="work-packages--list" cg-busy="[settingUpPage,refreshWorkPackages]">
|
||
10 years ago
|
<div class="work-packages--list-table-area">
|
||
11 years ago
|
<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"
|
||
10 years ago
|
group-sums="groupSums"
|
||
10 years ago
|
activation-callback="showWorkPackageDetails(id, force)">
|
||
11 years ago
|
</work-packages-table>
|
||
10 years ago
|
</div>
|
||
|
<div class="work-packages--list-pagination-area">
|
||
10 years ago
|
<table-pagination total-entries="totalEntries">
|
||
11 years ago
|
</table-pagination>
|
||
|
</div>
|
||
11 years ago
|
<modal-loading>
|
||
|
</modal-loading>
|
||
|
</div>
|
||
11 years ago
|
<div class="work-packages--details" ui-view ng-show="workPackage"
|
||
11 years ago
|
feature-flag="detailsView"></div>
|
||
11 years ago
|
</div>
|