Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development
This commit is contained in:
commit
d77fefc7c5
|
@ -46,7 +46,7 @@
|
|||
</a>
|
||||
<div class="dataset-card-actions">
|
||||
<a class="col-auto border-right pointer" [matMenuTriggerFor]="exportMenu"><span class="material-icons icon-align pr-2">open_in_new</span>{{'DATASET-LISTING.ACTIONS.EXPORT' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" (click)="openShareDialog(activity.dmpId, activity.dmp)"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-COLLABORATORS' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" (click)="openShareDialog(activity.dmpId, activity.dmp)"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-SHORT' | translate}}</a>
|
||||
<a class="col-auto pointer" [matMenuTriggerFor]="actionsMenu"><span class="material-icons icon-align pl-2">more_horiz</span></a>
|
||||
<!-- <a class="col-auto" [matMenuTriggerFor]="actionsMenu" *ngIf="!publicMode"><span class="material-icons icon-align pl-2">more_horiz</span></a> -->
|
||||
</div>
|
||||
|
|
|
@ -209,6 +209,7 @@ export class DraftsComponent extends BaseComponent implements OnInit {
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: dmpRowId,
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
</a>
|
||||
<div class="dataset-card-actions">
|
||||
<a class="col-auto border-right pointer" [matMenuTriggerFor]="exportMenu"><span class="material-icons icon-align pr-2">open_in_new</span>{{'DATASET-LISTING.ACTIONS.EXPORT' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" (click)="openShareDialog(getDmpId(activity), getDmp(activity))"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-COLLABORATORS' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" (click)="openShareDialog(getDmpId(activity), getDmp(activity))"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-SHORT' | translate}}</a>
|
||||
<a class="col-auto pointer" [matMenuTriggerFor]="actionsMenu"><span class="material-icons icon-align pl-2">more_horiz</span></a>
|
||||
<!-- <a class="col-auto" [matMenuTriggerFor]="actionsMenu" *ngIf="!publicMode"><span class="material-icons icon-align pl-2">more_horiz</span></a> -->
|
||||
</div>
|
||||
|
|
|
@ -285,6 +285,7 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</a>
|
||||
<div class="dataset-card-actions">
|
||||
<a class="col-auto border-right pointer" [matMenuTriggerFor]="exportMenu"><span class="material-icons icon-align pr-2">open_in_new</span>{{'DATASET-LISTING.ACTIONS.EXPORT' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" *ngIf="isUserOwner(activity)" (click)="openShareDialog(activity.dmpId, activity.dmp)"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-COLLABORATORS' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" *ngIf="isUserOwner(activity)" (click)="openShareDialog(activity.dmpId, activity.dmp)"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-SHORT' | translate}}</a>
|
||||
<a *ngIf="this.isAuthenticated()" class="col-auto pointer" [matMenuTriggerFor]="actionsMenu"><span class="material-icons icon-align pl-2">more_horiz</span></a>
|
||||
<!-- <a class="col-auto" [matMenuTriggerFor]="actionsMenu" *ngIf="!publicMode"><span class="material-icons icon-align pl-2">more_horiz</span></a> -->
|
||||
</div>
|
||||
|
|
|
@ -262,6 +262,7 @@ export class RecentEditedDatasetActivityComponent extends BaseComponent implemen
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: dmpRowId,
|
||||
|
|
|
@ -266,6 +266,7 @@ export class RecentEditedDmpActivityComponent extends BaseComponent implements O
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</a>
|
||||
<div class="dataset-card-actions">
|
||||
<a class="col-auto border-right pointer" [matMenuTriggerFor]="exportMenu"><span class="material-icons icon-align pr-2">open_in_new</span>{{'DATASET-LISTING.ACTIONS.EXPORT' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" *ngIf="isUserOwner" (click)="openShareDialog(dataset.dmpId, dataset.dmp)"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-COLLABORATORS' | translate}}</a>
|
||||
<a class="col-auto border-right pointer" *ngIf="isUserOwner" (click)="openShareDialog(dataset.dmpId, dataset.dmp)"><span class="material-icons icon-align pr-2">group_add</span>{{'DATASET-LISTING.ACTIONS.INVITE-SHORT' | translate}}</a>
|
||||
<a *ngIf="this.isAuthenticated()" class="col-auto pointer" [matMenuTriggerFor]="actionsMenu"><span class="material-icons icon-align pl-2">more_horiz</span></a>
|
||||
<!-- <a class="col-auto" [matMenuTriggerFor]="actionsMenu" *ngIf="!publicMode"><span class="material-icons icon-align pl-2">more_horiz</span></a> -->
|
||||
</div>
|
||||
|
|
|
@ -142,6 +142,7 @@ export class DatasetListingItemComponent extends BaseComponent implements OnInit
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: dmpRowId,
|
||||
|
|
|
@ -215,6 +215,7 @@ export class DatasetOverviewComponent extends BaseComponent implements OnInit {
|
|||
|
||||
openShareDialog(rowId: any, rowName: any) {
|
||||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
|
|
|
@ -37,6 +37,7 @@ export class PeopleTabComponent implements OnInit {
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
dmpName: rowName
|
||||
|
@ -86,5 +87,5 @@ export class PeopleTabComponent implements OnInit {
|
|||
}));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,10 +7,8 @@
|
|||
<h1 mat-dialog-title class="title">{{'DMP-LISTING.ACTIONS.INVITE-AUTHORS' | translate}}</h1>
|
||||
</div>
|
||||
<div mat-dialog-content class="row content">
|
||||
<mat-form-field class="col pt-0 pb-2 mb-4 search" appearance="standard">
|
||||
<app-multiple-auto-complete [formControl]="formGroup.get('users')"
|
||||
placeholder="{{'INVITATION-EDITOR.AUTOCOMPLETE-USER-EMAIL' | translate}}"
|
||||
[configuration]="usersAutoCompleteConfiguration">
|
||||
<mat-form-field class="col pt-0 pb-2 mb-4 search">
|
||||
<app-multiple-auto-complete [formControl]="formGroup.get('users')" placeholder="{{'INVITATION-EDITOR.AUTOCOMPLETE-USER-EMAIL' | translate}}" [configuration]="usersAutoCompleteConfiguration">
|
||||
</app-multiple-auto-complete>
|
||||
</mat-form-field>
|
||||
<p class="d-flex m-0 hint">
|
||||
|
@ -20,10 +18,10 @@
|
|||
<div class="col-12 d-flex justify-content-end align-items-center row m-0 pt-1 pb-1">
|
||||
<mat-form-field class="select-role">
|
||||
<mat-select [formControl]="formGroup.get('role')">
|
||||
<mat-option [value]="roles.Owner">{{enumUtils.toRoleString(roles.Owner)}}</mat-option>
|
||||
<mat-option [value]="roles.Member">{{enumUtils.toRoleString(roles.Member)}}</mat-option>
|
||||
<mat-option [value]="roles.Owner">{{enumUtils.toRoleString(roles.Owner)}}</mat-option>
|
||||
<mat-option [value]="roles.Member">{{enumUtils.toRoleString(roles.Member)}}</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</mat-form-field>
|
||||
<button mat-raised-button *ngIf="hasValue()" (click)="send()" type="button" class="invite-btn mt-2">{{'DMP-LISTING.ACTIONS.INVITE-SHORT' | translate}}</button>
|
||||
<button mat-raised-button *ngIf="!hasValue()" type="button" class="invite-btn-disabled mt-2">{{'DMP-LISTING.ACTIONS.INVITE-SHORT' | translate}}</button>
|
||||
</div>
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
padding: 0px;
|
||||
}
|
||||
|
||||
.mat-form-field {
|
||||
background: #fafafa;
|
||||
border: 1px solid #d1d1d1;
|
||||
border-radius: 4px;
|
||||
}
|
||||
// .mat-form-field {
|
||||
// background: #fafafa;
|
||||
// border: 1px solid #d1d1d1;
|
||||
// border-radius: 4px;
|
||||
// }
|
||||
|
||||
.hint {
|
||||
font-size: 0.875rem;
|
||||
|
@ -45,18 +45,18 @@
|
|||
|
||||
::ng-deep .search {
|
||||
.mat-form-field-infix {
|
||||
border: none;
|
||||
padding: 14px;
|
||||
}
|
||||
.mat-form-field-underline {
|
||||
display: none;
|
||||
}
|
||||
.mat-form-field-flex {
|
||||
padding: 0em;
|
||||
}
|
||||
.align-arrow-right {
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
padding: 0.6em 0 1em 0 !important;
|
||||
}
|
||||
// .mat-form-field-underline {
|
||||
// display: none;
|
||||
// }
|
||||
// .mat-form-field-flex {
|
||||
// padding: 0em;
|
||||
// }
|
||||
// .align-arrow-right {
|
||||
// display: none;
|
||||
// }
|
||||
}
|
||||
|
||||
.select-role {
|
||||
|
|
|
@ -347,6 +347,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
|
|||
|
||||
openShareDialog(rowId: any, rowName: any) {
|
||||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
autoFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
dmpName: rowName
|
||||
|
|
|
@ -80,6 +80,7 @@ export class DmpListingItemComponent extends BaseComponent implements OnInit {
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
|
|
|
@ -647,6 +647,7 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
|
|||
const dialogRef = this.dialog.open(DmpInvitationDialogComponent, {
|
||||
// height: '250px',
|
||||
// width: '700px',
|
||||
autoFocus: false,
|
||||
restoreFocus: false,
|
||||
data: {
|
||||
dmpId: rowId,
|
||||
|
|
|
@ -246,7 +246,7 @@
|
|||
transform: scale(0.35);
|
||||
width: 200px;
|
||||
height: 80px;
|
||||
margin-left: -50px;
|
||||
margin-left: -57px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -658,7 +658,8 @@
|
|||
"NEW": "Neue Datensatzbeschreibung",
|
||||
"CREATE-NEW": "Neue Datensatzbeschreibung erstellen",
|
||||
"EXPORT": "Export",
|
||||
"INVITE-COLLABORATORS": "Invite collaborators"
|
||||
"INVITE-COLLABORATORS": "Invite collaborators",
|
||||
"INVITE-SHORT": "Invite"
|
||||
},
|
||||
"STATES": {
|
||||
"EDITED": "Edited",
|
||||
|
|
|
@ -658,7 +658,8 @@
|
|||
"NEW": "New Dataset",
|
||||
"CREATE-NEW": "Create new Dataset",
|
||||
"EXPORT": "Export",
|
||||
"INVITE-COLLABORATORS": "Invite collaborators"
|
||||
"INVITE-COLLABORATORS": "Invite collaborators",
|
||||
"INVITE-SHORT": "Invite"
|
||||
},
|
||||
"STATES": {
|
||||
"EDITED": "Edited",
|
||||
|
|
|
@ -658,7 +658,8 @@
|
|||
"NEW": "Nueva descripción del dataset",
|
||||
"CREATE-NEW": "Crear una nueva descripción del dataset",
|
||||
"EXPORT": "Exportar",
|
||||
"INVITE-COLLABORATORS": "Invitar colaboradores"
|
||||
"INVITE-COLLABORATORS": "Invitar colaboradores",
|
||||
"INVITE-SHORT": "Invite"
|
||||
},
|
||||
"STATES": {
|
||||
"EDITED": "Edited",
|
||||
|
|
|
@ -658,7 +658,8 @@
|
|||
"NEW": "Νέα Περιγραφή Συνόλου Δεδομένων",
|
||||
"CREATE-NEW": "Δημιουργία νέας Περιγραφής Συνόλου Δεδομένων",
|
||||
"EXPORT": "Εξαγωγή",
|
||||
"INVITE-COLLABORATORS": "Προσκάλεσε συνεργάτες"
|
||||
"INVITE-COLLABORATORS": "Προσκάλεσε συνεργάτες",
|
||||
"INVITE-SHORT": "Invite"
|
||||
},
|
||||
"STATES": {
|
||||
"EDITED": "Σε επεξεργασία",
|
||||
|
|
|
@ -658,7 +658,8 @@
|
|||
"NEW": "Nový súbor dát",
|
||||
"CREATE-NEW": "Vytvoriť nový súbor dát",
|
||||
"EXPORT": "Exportovať",
|
||||
"INVITE-COLLABORATORS": "Pozvať spolupracovníkov"
|
||||
"INVITE-COLLABORATORS": "Pozvať spolupracovníkov",
|
||||
"INVITE-SHORT": "Invite"
|
||||
},
|
||||
"STATES": {
|
||||
"EDITED": "Upravený",
|
||||
|
|
|
@ -658,7 +658,8 @@
|
|||
"NEW": "Yeni Veri Seti Tanımı",
|
||||
"CREATE-NEW": "Yeni Veri Seti Tanımı Oluştur",
|
||||
"EXPORT": "Dışarı Aktar",
|
||||
"INVITE-COLLABORATORS": "Çalışma Arkadaşlarını Dahil Et "
|
||||
"INVITE-COLLABORATORS": "Çalışma Arkadaşlarını Dahil Et ",
|
||||
"INVITE-SHORT": "Invite"
|
||||
},
|
||||
"STATES": {
|
||||
"EDITED": "Düzeltildi",
|
||||
|
|
Loading…
Reference in New Issue