Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

upgrade advanced filters upsale template

bsatarnejadb24ff10c54ab
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html b/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html
index 6544fa1834c..e6f7341887f 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html
@@ -16,11 +16,11 @@
id="query_form_content"
class="hide-when-print" *ngIf="visible$ | async"
>
- <query-filters
+ <op-query-filters
*ngIf="!!filters"
[filters]="filters"
[showCloseFilter]="true"
(filtersChanged)="replaceIfComplete($event)"
- ></query-filters>
+ ></op-query-filters>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html
index 5f333c2404a..2600b3407d0 100644
--- a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html
@@ -74,7 +74,8 @@
*ngIf="eeShowBanners"
[linkMessage]="text.upsale_link"
[textMessage]="text.upsale_for_more"
- [moreInfoText]="text.more_info"
+ [moreInfoText]="text.more_info_text"
+ [moreInfoLink]="text.more_info_link"
opReferrer="wp-filter#filters">
</op-enterprise-banner>
</fieldset>
diff --git a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts
index d7e94e8b8ba..946da4e3e24 100644
--- a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts
+++ b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts
@@ -44,7 +44,7 @@ import { QueryFilterResource } from 'core-app/features/hal/resources/query-filte
const ADD_FILTER_SELECT_INDEX = -1;
@Component({
- selector: 'query-filters',
+ selector: 'op-query-filters',
changeDetection: ChangeDetectionStrategy.OnPush,
templateUrl: './query-filters.component.html',
})
@@ -71,7 +71,8 @@ export class QueryFiltersComponent extends UntilDestroyedMixin implements OnInit
close_filter: this.I18n.t('js.filter.description.text_close_filter'),
upsale_for_more: this.I18n.t('js.filter.upsale_for_more'),
upsale_link: this.I18n.t('js.filter.upsale_link'),
- more_info: this.I18n.t('js.filter.more_info'),
+ more_info_text: this.I18n.t('js.filter.more_info'),
+ more_info_link: 'https://www.openproject.org/enterprise-edition/',
close_form: this.I18n.t('js.close_form_title'),
selected_filter_list: this.I18n.t('js.label_selected_filter_list'),
button_delete: this.I18n.t('js.button_delete'),
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html
index 7bc72e6dce5..792da3056ed 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html
@@ -1,3 +1,3 @@
-<query-filters *ngIf="!!filters"
+<op-query-filters *ngIf="!!filters"
(filtersChanged)="filters = $event"
- [filters]="filters"></query-filters>
+ [filters]="filters"></op-query-filters>
diff --git a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html
index 7bc72e6dce5..792da3056ed 100644
--- a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html
+++ b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html
@@ -1,3 +1,3 @@
-<query-filters *ngIf="!!filters"
+<op-query-filters *ngIf="!!filters"
(filtersChanged)="filters = $event"
- [filters]="filters"></query-filters>
+ [filters]="filters"></op-query-filters>