Navigate from button "VIEW ALL" of Last Edited Table to MY DMPs and change content on i18n/en

This commit is contained in:
apapachristou 2019-06-14 11:21:24 +03:00
parent 63c0341d28
commit b090a293c4
4 changed files with 10 additions and 6 deletions

View File

@ -9,12 +9,12 @@
<div class="row" *ngIf="this.isAuthenticated()"> <div class="row" *ngIf="this.isAuthenticated()">
<div class="col-sm-6 col-md-6 col-lg-6"> <div class="col-sm-6 col-md-6 col-lg-6">
<app-wizard title="{{'QUICKWIZARD.CREATE-ADD.CREATE.TITLE' | translate}}" <app-wizard title="{{'QUICKWIZARD.CREATE-ADD.CREATE.TITLE' | translate}}"
subtitle="Follow the steps of the wizard" routerLink="/quick-wizard" icon="play_circle_outline"> subtitle="{{'QUICKWIZARD.CREATE-ADD.CREATE.SUBTITLE' | translate}}" routerLink="/quick-wizard" icon="play_circle_outline">
</app-wizard> </app-wizard>
</div> </div>
<div class="col-sm-6 col-md-6 col-lg-6"> <div class="col-sm-6 col-md-6 col-lg-6">
<app-wizard title="{{'QUICKWIZARD.CREATE-ADD.ADD.TITLE' | translate}}" <app-wizard title="{{'QUICKWIZARD.CREATE-ADD.ADD.TITLE' | translate}}"
subtitle="Follow the steps of the wizard" routerLink="/datasetcreatewizard" subtitle="{{'QUICKWIZARD.CREATE-ADD.ADD.SUBTITLE' | translate}}" routerLink="/datasetcreatewizard"
icon="play_circle_outline"></app-wizard> icon="play_circle_outline"></app-wizard>
</div> </div>
</div> </div>

View File

@ -138,7 +138,9 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
} }
} }
navigateToUrl() { } navigateToUrl() {
this.router.navigate(["plans/"]);
}
roleDisplay(value: any) { roleDisplay(value: any) {
const principal: Principal = this.authentication.current(); const principal: Principal = this.authentication.current();

View File

@ -291,7 +291,7 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC
maxWidth: '300px', maxWidth: '300px',
data: { data: {
message: this.language.instant('GENERAL.CONFIRMATION-DIALOG.DELETE-ITEM'), message: this.language.instant('GENERAL.CONFIRMATION-DIALOG.DELETE-ITEM'),
confirmButton: this.language.instant('GENERAL.CONFIRMATION-DIALOG.ACTIONS.CONFIRM'), confirmButton: this.language.instant('GENERAL.CONFIRMATION-DIALOG.ACTIONS.DELETE'),
cancelButton: this.language.instant('GENERAL.CONFIRMATION-DIALOG.ACTIONS.CANCEL') cancelButton: this.language.instant('GENERAL.CONFIRMATION-DIALOG.ACTIONS.CANCEL')
} }
}); });

View File

@ -848,7 +848,8 @@
"QUICKWIZARD": { "QUICKWIZARD": {
"CREATE-ADD": { "CREATE-ADD": {
"CREATE": { "CREATE": {
"TITLE": "Start new DMP", "TITLE": "New DMP",
"SUBTITLE": "Follow the steps of the wizard",
"QUICKWIZARD_CREATE": { "QUICKWIZARD_CREATE": {
"TITLE": "DMP Wizard", "TITLE": "DMP Wizard",
"ACTIONS": { "ACTIONS": {
@ -891,7 +892,8 @@
} }
}, },
"ADD": { "ADD": {
"TITLE": "Describe Dataset" "TITLE": "Add Dataset",
"SUBTITLE": "A DMP can have more than one datasets. Describe new or modify existing datasets here"
} }
}, },
"SAVE-DIALOG": { "SAVE-DIALOG": {