From 2271412af99882cdda80c534234169a92c6e1184 Mon Sep 17 00:00:00 2001 From: Aleix Suau Date: Wed, 8 Jul 2020 17:40:28 +0200 Subject: [PATCH] Minor changes --- .../wp-card-view/wp-single-card/wp-single-card.component.ts | 4 ++-- .../routing/wp-list-view/wp-list-view.component.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts b/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts index 4d3d254e99..4242ebe2cd 100644 --- a/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts +++ b/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts @@ -60,8 +60,8 @@ export class WorkPackageSingleCardComponent extends UntilDestroyedMixin implemen ngOnInit():void { // Scroll into view this card if it represents the selected WorkPackage - // So when the user clicks a WP from a wp-split-view-entry (list of wp) and then - // click on the 'back button', the last selected card is visible. + // so when the user clicks a WP from a wp-split-view-entry (list of wp) and then + // clicks on the 'back button', the last selected card is visible on the list. if (this.isSelected(this.workPackage)) { this.elementRef.nativeElement.scrollIntoView({block: "start"}); } diff --git a/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.ts b/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.ts index 0ed9cb3bb8..c8a99ffb3f 100644 --- a/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.ts +++ b/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.ts @@ -58,6 +58,7 @@ import {QueryResource} from "core-app/modules/hal/resources/query-resource"; ] }) export class WorkPackageListViewComponent extends UntilDestroyedMixin implements OnInit { + text = { 'jump_to_pagination': this.I18n.t('js.work_packages.jump_marks.pagination'), 'text_jump_to_pagination': this.I18n.t('js.work_packages.jump_marks.label_pagination'),