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

show changes drop down values

bsatarnejad4f4b32825205
diff --git a/frontend/src/app/shared/components/show-changes/show-changes.component.ts b/frontend/src/app/shared/components/show-changes/show-changes.component.ts
index 32ad54b7209..193bfae6a3c 100644
--- a/frontend/src/app/shared/components/show-changes/show-changes.component.ts
+++ b/frontend/src/app/shared/components/show-changes/show-changes.component.ts
@@ -51,10 +51,42 @@ export class OpShowChangesComponent extends UntilDestroyedMixin {
header_description: this.I18n.t('js.show_changes.header_description'),
clear: this.I18n.t('js.show_changes.clear'),
apply: this.I18n.t('js.show_changes.apply'),
+ Show_changes_since: this.I18n.t('js.show_changes.Show_changes_since'),
};
public opened = false;
+ public showChangesAvailableValues = [
+ {
+ value: '0',
+ title: this.I18n.t('js.show_changes.drop_down.none'),
+ },
+ {
+ value: '1',
+ title: this.I18n.t('js.show_changes.drop_down.yesterday'),
+ },
+ {
+ value: '2',
+ title: this.I18n.t('js.show_changes.drop_down.last_working_day'),
+ },
+ {
+ value: '3',
+ title: this.I18n.t('js.show_changes.drop_down.last_week'),
+ },
+ {
+ value: '4',
+ title: this.I18n.t('js.show_changes.drop_down.last_month'),
+ },
+ {
+ value: '5',
+ title: this.I18n.t('js.show_changes.drop_down.a_specific_date'),
+ },
+ {
+ value: '6',
+ title: this.I18n.t('js.show_changes.drop_down.between_two_specific_dates'),
+ },
+ ];
+
public query$ = this.wpTableFilters.querySpace.query.values$();
constructor(