Small improvements for User Guide (ref #239)

This commit is contained in:
George Kalampokis 2020-02-18 16:44:22 +02:00
parent e5b1ca595e
commit 0e98c49d9c
5 changed files with 38 additions and 8 deletions

View File

@ -0,0 +1,25 @@
import { NgModule } from '@angular/core';
import { LanguageComponent } from './language-content/language.component';
import { CommonUiModule } from '@common/ui/common-ui.module';
import { LanguageDialogComponent } from './dialog/language-dialog.component';
@NgModule({
declarations: [
LanguageComponent,
LanguageDialogComponent
],
imports: [
CommonUiModule
],
entryComponents: [
LanguageComponent,
LanguageDialogComponent
],
exports: [
LanguageComponent,
LanguageDialogComponent
]
})
export class LanguageModule { }

View File

@ -1,4 +1,4 @@
<div class="faq">
<div class="guide">
<div class="row d-flex flex-row">
<div mat-dialog-title class="col-auto">
{{'GUIDE.TITLE' | translate}}
@ -11,6 +11,6 @@
<app-user-guide-content></app-user-guide-content>
</div>
<div mat-dialog-actions class="row">
<div class="ml-auto col-auto"><button mat-button mat-dialog-close mat-raised-button color="primary" (click)="cancel()">{{'FAQ.CLOSE' | translate}}</button></div>
<div class="ml-auto col-auto"><button mat-button mat-dialog-close mat-raised-button color="primary" (click)="cancel()">{{'GUIDE.CLOSE' | translate}}</button></div>
</div>
</div>

View File

@ -12,6 +12,6 @@
cursor: pointer;
}
.faq {
.guide {
margin-bottom: 1.125rem;
}

View File

@ -377,6 +377,7 @@
"TITLE": "Data Management Plans",
"OWNER": "Owner",
"MEMBER": "Member",
"CREATOR": "Creator",
"COLUMNS": {
"NAME": "Name",
"GRANT": "Grant",
@ -428,6 +429,7 @@
"TITLE": "Published Data Management Plans",
"OWNER": "Owner",
"MEMBER": "Member",
"CREATOR":"Creator",
"VIEW-ONLY": "View Only",
"TOOLTIP": {
"PUBLISHED": "Public access - Closed DMP",
@ -1017,8 +1019,9 @@
"CLOSE": "Close"
},
"GUIDE": {
"TITLE": "-User Guide-",
"MAIN-CONTENT": ""
"TITLE": "User Guide",
"TITLE-DASHED": "-User Guide-",
"CLOSE": "Close"
},
"PRIVACY-POLICY": {
"TITLE": "-Privacy Policy-",

View File

@ -698,7 +698,8 @@
"CANCEL": "Cancel",
"DELETE": "Delete",
"FINALISE": "Finalize",
"LOCK": "DMP is locked by another user"
"LOCK": "DMP is locked by another user",
"PERMISSION": "You have no permission to edit this DMP"
},
"SNACK-BAR": {
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",
@ -1016,8 +1017,9 @@
"CLOSE": "Close"
},
"GUIDE": {
"TITLE": "-User Guide-",
"MAIN-CONTENT": ""
"TITLE": "User Guide",
"TITLE-DASHED": "-User Guide-",
"CLOSE": "Close"
},
"PRIVACY-POLICY": {
"TITLE": "-Privacy Policy-",