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 class="row d-flex flex-row">
<div mat-dialog-title class="col-auto"> <div mat-dialog-title class="col-auto">
{{'GUIDE.TITLE' | translate}} {{'GUIDE.TITLE' | translate}}
@ -11,6 +11,6 @@
<app-user-guide-content></app-user-guide-content> <app-user-guide-content></app-user-guide-content>
</div> </div>
<div mat-dialog-actions class="row"> <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>
</div> </div>

View File

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

View File

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

View File

@ -698,7 +698,8 @@
"CANCEL": "Cancel", "CANCEL": "Cancel",
"DELETE": "Delete", "DELETE": "Delete",
"FINALISE": "Finalize", "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": { "SNACK-BAR": {
"UNSUCCESSFUL-DOI": "Unsuccessful DOI creation", "UNSUCCESSFUL-DOI": "Unsuccessful DOI creation",
@ -1016,8 +1017,9 @@
"CLOSE": "Close" "CLOSE": "Close"
}, },
"GUIDE": { "GUIDE": {
"TITLE": "-User Guide-", "TITLE": "User Guide",
"MAIN-CONTENT": "" "TITLE-DASHED": "-User Guide-",
"CLOSE": "Close"
}, },
"PRIVACY-POLICY": { "PRIVACY-POLICY": {
"TITLE": "-Privacy Policy-", "TITLE": "-Privacy Policy-",