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="col-sm-6 col-md-6 col-lg-6">
<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>
</div>
<div class="col-sm-6 col-md-6 col-lg-6">
<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>
</div>
</div>

View File

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

View File

@ -291,7 +291,7 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC
maxWidth: '300px',
data: {
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')
}
});

View File

@ -848,7 +848,8 @@
"QUICKWIZARD": {
"CREATE-ADD": {
"CREATE": {
"TITLE": "Start new DMP",
"TITLE": "New DMP",
"SUBTITLE": "Follow the steps of the wizard",
"QUICKWIZARD_CREATE": {
"TITLE": "DMP Wizard",
"ACTIONS": {
@ -891,7 +892,8 @@
}
},
"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": {