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
Rename route in split screen
Oliver Güntherbf54ade74a02
diff --git a/app/assets/stylesheets/layout/work_packages/_details_view.sass b/app/assets/stylesheets/layout/work_packages/_details_view.sassindex 2d14158d127..1bd6a29bb8b 100644--- a/app/assets/stylesheets/layout/work_packages/_details_view.sass+++ b/app/assets/stylesheets/layout/work_packages/_details_view.sass@@ -29,7 +29,7 @@// Right part of the split view// Visible only in the details ui-viewbody.router--work-packages-partitioned-split-view,-body.router--work-packages-split-view-new+body.router--work-packages-partitioned-split-view-new.work-packages-partitioned-page--content-rightoverflow-x: hiddendiff --git a/app/assets/stylesheets/layout/work_packages/_mobile.sass b/app/assets/stylesheets/layout/work_packages/_mobile.sassindex c06908b274c..ac625921596 100644--- a/app/assets/stylesheets/layout/work_packages/_mobile.sass+++ b/app/assets/stylesheets/layout/work_packages/_mobile.sass@@ -137,11 +137,11 @@border-top: none.router--work-packages-partitioned-split-view,- .router--work-packages-split-view-new+ .router--work-packages-partitioned-split-view-new.work-packages-partitioned-page--content-rightoverflow-x: auto- .router--work-packages-list-view+ .router--work-packages-partitioned-split-view// Ensure the WP cards can span the complete width on mobile#content-wrapperpadding: 15px 0 !importantdiff --git a/app/assets/stylesheets/layout/work_packages/_print.sass b/app/assets/stylesheets/layout/work_packages/_print.sassindex 357ad5f839f..d694bef84bd 100644--- a/app/assets/stylesheets/layout/work_packages/_print.sass+++ b/app/assets/stylesheets/layout/work_packages/_print.sass@@ -5,7 +5,7 @@//@media print// -------------------- Work Package views --------------------- .router--work-packages-list-view,+ .router--work-packages-partitioned-split-view,.router--work-packages-full-view,.router--work-packages-full-create#wrapper@@ -61,7 +61,7 @@// -------------------- Sepcial Rules for FF --------------------html.-browser-firefox- .router--work-packages-list-view,+ .router--work-packages-partitioned-split-view,.router--work-packages-full-view,.router--work-packages-full-create#maindiff --git a/app/assets/stylesheets/layout/work_packages/_table.sass b/app/assets/stylesheets/layout/work_packages/_table.sassindex 2331abd2442..25ba9409f69 100644--- a/app/assets/stylesheets/layout/work_packages/_table.sass+++ b/app/assets/stylesheets/layout/work_packages/_table.sass@@ -26,7 +26,7 @@// See docs/COPYRIGHT.rdoc for more details.//++-.router--work-packages-list-view,+.router--work-packages-partitioned-split-view,.router--work-packages-full-view,.router--work-packages-full-create.in_modal &@@ -34,7 +34,7 @@top: 12px-.router--work-packages-list-view:not(.router--work-packages-full-create)+.router--work-packages-partitioned-split-view:not(.router--work-packages-full-create)@include extended-content--bottom@include extended-content--rightdiff --git a/frontend/src/app/components/wp-new/wp-create.component.ts b/frontend/src/app/components/wp-new/wp-create.component.tsindex deb26267d41..9b460fc5b03 100644--- a/frontend/src/app/components/wp-new/wp-create.component.ts+++ b/frontend/src/app/components/wp-new/wp-create.component.ts@@ -122,8 +122,9 @@ export abstract class WorkPackageCreateComponent implements OnInit, OnDestroy {this.setTitle();if (this.stateParams['parent_id']) {- this.newWorkPackage.parent =- {href: this.pathHelper.api.v3.work_packages.id(this.stateParams['parent_id']).path};+ this.newWorkPackage.parent = {+ href: this.pathHelper.api.v3.work_packages.id(this.stateParams['parent_id']).path+ };}// Load the parent simply to display the type name :-/diff --git a/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts b/frontend/src/app/modules/work_packages/routing/work-packages-routes.tsindex 94cd800c60e..2427af61e44 100644--- a/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts+++ b/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts@@ -148,7 +148,7 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = ['content-left': { component: WorkPackageListViewComponent }},data: {- bodyClasses: 'router--work-packages-list-view',+ bodyClasses: 'router--work-packages-partitioned-split-view',menuItem: menuItemClass}},@@ -161,7 +161,7 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [reloadOnSearch: false,data: {allowMovingInEditMode: true,- bodyClasses: 'router--work-packages-split-view-new',+ bodyClasses: 'router--work-packages-partitioned-split-view-new',menuItem: menuItemClass,parent: 'work-packages.partitioned.list'},