Compare commits

..

No commits in common. "7314bee9d2a81b67aff8e29e3872d569251aff30" and "ec2a93f8c6b754a9e3a1cebdf7c2a9c1b7c8a3c6" have entirely different histories.

3 changed files with 18 additions and 20 deletions

View File

@ -157,11 +157,10 @@ export class DescriptionListingComponent extends BaseComponent implements OnInit
isStepUnique: false
},
{
selector: '.dataset-tour',
selector: '.description-tour',
content: 'Step 2',
orientation: Orientation.Right,
isStepUnique: false,
useHighlightPadding: true
isStepUnique: false
}
]
};
@ -331,24 +330,23 @@ export class DescriptionListingComponent extends BaseComponent implements OnInit
public restartTour(): void {
this.setDashboardTourDmpText();
console.log('lalala');
this.setDashboardTourDescriptionText();
console.log(this.dashboardTour);
this.guidedTourService.startTour(this.dashboardTour);
}
public setDashboardTourDmpText(): void {
this.dmpText = this.language.instant('DMP-LISTING.TEXT-INFO') + '\n\n' +
this.language.instant('DMP-LISTING.TEXT-INFO-QUESTION') + ' ' +
this.language.instant('DMP-LISTING.LINK-ZENODO') + ' ' +
this.language.instant('DMP-LISTING.GET-IDEA');
this.dmpText = this.language.instant('DESCRIPTION-LISTING.TEXT-INFO') + '\n\n' +
this.language.instant('DESCRIPTION-LISTING.TEXT-INFO-QUESTION') + ' ' +
this.language.instant('DESCRIPTION-LISTING.LINK-ZENODO') + ' ' +
this.language.instant('DESCRIPTION-LISTING.GET-IDEA');
this.dashboardTour.steps[0].title = this.dmpText;
}
public setDashboardTourDescriptionText(): void {
this.descriptionText = this.language.instant('DESCRIPTION-LISTING.TEXT-INFO') + '\n\n' +
this.language.instant('DESCRIPTION-LISTING.TEXT-INFO-QUESTION') + ' ' +
this.language.instant('DESCRIPTION-LISTING.GET-IDEA');
this.descriptionText = this.language.instant('DESCRIPTION-LISTING.TEXT-INFO') +
this.language.instant('DESCRIPTION-LISTING.LINK-PUBLIC-DATASETS') + ' ' +
this.language.instant('DESCRIPTION-LISTING.TEXT-INFO-REST') + '\n\n' +
this.language.instant('DESCRIPTION-LISTING.TEXT-INFO-PAR');
this.dashboardTour.steps[1].title = this.descriptionText;
}

View File

@ -152,9 +152,10 @@ export class DmpListingComponent extends BaseComponent implements OnInit { //IBr
this.language.instant('DMP-LISTING.LINK-ZENODO') + ' ' +
this.language.instant('DMP-LISTING.GET-IDEA');
this.dashboardTour.steps[1].title = this.language.instant('DESCRIPTION-LISTING.TEXT-INFO') + '\n\n' +
this.language.instant('DESCRIPTION-LISTING.TEXT-INFO-QUESTION') + ' ' +
this.language.instant('DESCRIPTION-LISTING.GET-IDEA');
this.dashboardTour.steps[1].title = this.language.instant('DATASET-LISTING.TEXT-INFO') +
this.language.instant('DATASET-LISTING.LINK-PUBLIC-DATASETS') + ' ' +
this.language.instant('DATASET-LISTING.TEXT-INFO-REST') + '\n\n' +
this.language.instant('DATASET-LISTING.TEXT-INFO-PAR');
this.guidedTourService.startTour(this.dashboardTour);
});
@ -369,9 +370,10 @@ export class DmpListingComponent extends BaseComponent implements OnInit { //IBr
}
public setDashboardTourDatasetText(): void {
const datasetText = this.language.instant('DESCRIPTION-LISTING.TEXT-INFO') + '\n\n' +
this.language.instant('DESCRIPTION-LISTING.TEXT-INFO-QUESTION') + ' ' +
this.language.instant('DESCRIPTION-LISTING.GET-IDEA');
const datasetText = this.language.instant('DATASET-LISTING.TEXT-INFO') +
this.language.instant('DATASET-LISTING.LINK-PUBLIC-DATASETS') + ' ' +
this.language.instant('DATASET-LISTING.TEXT-INFO-REST') + '\n\n' +
this.language.instant('DATASET-LISTING.TEXT-INFO-PAR');
this.dashboardTour.steps[1].title = datasetText;
}

View File

@ -668,8 +668,6 @@
"TEXT-INFO-REST": " for a look at Descriptions in {{ APP_NAME }} Plans",
"LINK-PUBLIC-DATASETS": "Public Descriptions",
"TEXT-INFO-PAR": "New Descriptions can be added to existing Plans at any time and be described with more than one template. Descriptions can also be cloned and re-used in other Plans as well as be deleted without negatively affecting the Plan as a whole.",
"TEXT-INFO-QUESTION": "New descriptions can be added to existing DMPs at any time and be described with more than one template. ",
"GET-IDEA": " Descriptions can also be cloned and re-used in other DMPs as well as be deleted without negatively affecting the DMP as a whole.",
"DESCRIPTION": "Description",
"GRANT": "Grant",
"LOCKED": "Description is Locked by another user",