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

add drop down for show changes since

bsatarnejad9ba47b94efc4
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 001b3c0c46e..92ecd2e8309 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -1345,6 +1345,15 @@ en:
clear: 'Clear'
apply: 'Apply'
header_description: 'View changes made to work packages in the current view within a time period.'
+ Show_changes_since: 'Show changes since'
+ drop_down:
+ none: '-'
+ yesterday: 'yesterday'
+ last_working_day: 'last working day'
+ last_week: 'last week'
+ last_month: 'last month'
+ a_specific_date: 'a specific date'
+ between_two_specific_dates: 'between two specific dates'
forms:
submit_success_message: 'The form was successfully submitted'
load_error_message: 'There was an error loading the form'
diff --git a/frontend/src/app/shared/components/show-changes/show-changes.component.html b/frontend/src/app/shared/components/show-changes/show-changes.component.html
index 3e1d8884d48..0051b01c6c0 100644
--- a/frontend/src/app/shared/components/show-changes/show-changes.component.html
+++ b/frontend/src/app/shared/components/show-changes/show-changes.component.html
@@ -27,6 +27,19 @@
(submit)="onSubmit($event)"
class="spot-container op-show-changes-modal--body"
>
+ <spot-form-field
+ [label]="text.Show_changes_since">
+
+ <select
+ slot="input">
+ <option
+ *ngFor="let availableValue of showChangesAvailableValues"
+ [value]="availableValue.value">
+ {{availableValue.title}}
+ </option>
+ </select>
+ </spot-form-field>
+
<div class="spot-action-bar">
<div class="spot-action-bar--right">
diff --git a/frontend/src/app/shared/components/show-changes/show-changes.component.sass b/frontend/src/app/shared/components/show-changes/show-changes.component.sass
index 75b88894a55..9f2e18a2185 100644
--- a/frontend/src/app/shared/components/show-changes/show-changes.component.sass
+++ b/frontend/src/app/shared/components/show-changes/show-changes.component.sass
@@ -14,6 +14,7 @@
flex-shrink: 1
flex-basis: 100%
overflow: hidden
+ margin-top: 0 !important
@media screen and #{$spot-mq-drop-modal-in-context}
width: 300px