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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove texts for a specific date and between dates
Oliver Günther4b9785b22bf6
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.ts b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.tsindex 646b48402c1..0a2d258b60c 100644--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.ts@@ -153,13 +153,11 @@ export class OpBaselineLegendsComponent extends UntilDestroyedMixin implements Obreak;case 'aSpecificDate':[upstreamDate, localDate] = this.formatUpstreamAndLocal(moment.parseZone(timestamps[0]));- description = this.I18n.t('js.baseline.drop_down.a_specific_date');- description += ` (${upstreamDate})`;+ description += upstreamDate;break;case 'betweenTwoSpecificDates':[upstreamDate, localDate] = this.deriveDateRange(moment.parseZone(timestamps[0]), moment.parseZone(timestamps[1]));- description = this.I18n.t('js.baseline.drop_down.between_two_specific_dates');- description += ` (${upstreamDate})`;+ description += upstreamDate;break;default:break;diff --git a/spec/features/work_packages/table/baseline/baseline_query_spec.rb b/spec/features/work_packages/table/baseline/baseline_query_spec.rbindex b9dce01eee5..44ffed151e4 100644--- a/spec/features/work_packages/table/baseline/baseline_query_spec.rb+++ b/spec/features/work_packages/table/baseline/baseline_query_spec.rb@@ -166,7 +166,7 @@ RSpec.describe 'baseline query saving',login_as berlin_userwp_table.visit_query query- baseline.expect_legend_text "Changes since a specific date (2023-05-20 6:00 AM UTC+9)"+ baseline.expect_legend_text "Changes since a 2023-05-20 6:00 AM UTC+9"baseline.expect_legend_tooltip "In your local timezone: 2023-05-19 11:00 PM UTC+2"baseline_modal.expect_closed@@ -195,7 +195,7 @@ RSpec.describe 'baseline query saving',login_as tokyo_userwp_table.visit_query query- baseline.expect_legend_text "Changes since between two specific dates (2023-05-19 8:00 AM UTC+2 - 2023-05-25 8:00 PM UTC+2)"+ baseline.expect_legend_text "Changes since 2023-05-19 8:00 AM UTC+2 - 2023-05-25 8:00 PM UTC+2"baseline.expect_legend_tooltip "In your local timezone: 2023-05-19 3:00 PM UTC+9 - 2023-05-26 3:00 AM UTC+9"baseline_modal.expect_closed