Fixes progress bar, add some dynamic data on recent edited activities
This commit is contained in:
parent
7cf5ddfebe
commit
1bae868e5a
|
@ -4,20 +4,19 @@
|
||||||
<div *ngIf="true" class="dmp-card">
|
<div *ngIf="true" class="dmp-card">
|
||||||
<div class="d-flex flex-direction-row">
|
<div class="d-flex flex-direction-row">
|
||||||
<div class="col-auto dmp-label">{{ 'DMP-LISTING.DMP' | translate }}</div>
|
<div class="col-auto dmp-label">{{ 'DMP-LISTING.DMP' | translate }}</div>
|
||||||
<div class="col-auto ml-auto edited-date">Edited: 9 May 2020</div>
|
<div class="col-auto ml-auto edited-date">{{ 'DMP-LISTING.EDITED' | translate }}: {{ activity.modifiedTime | date: "longDate" }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto" [ngClass]="{'dmp-title': !isDraft, 'dmp-title-draft': isDraft}">
|
<div class="col-auto" [ngClass]="{'dmp-title': !isDraft, 'dmp-title-draft': isDraft}">{{activity.label}}</div>
|
||||||
DMP for: Horizon 2020 for Grant DMP of the NEANIAS DMP plan</div>
|
|
||||||
<div class="dmp-subtitle">
|
<div class="dmp-subtitle">
|
||||||
<span class="col-auto">Owner</span>
|
<span class="col-auto">Owner</span>
|
||||||
<span>.</span>
|
<span>.</span>
|
||||||
<span class="col-auto"><span
|
<span class="col-auto" *ngIf="activity.status === 1 && activity.public === true"><span class="material-icons icon-align">public</span>{{'TYPES.DMP-VISIBILITY.PUBLIC' | translate}}</span>
|
||||||
class="material-icons icon-align">public</span>Published</span>
|
<span *ngIf="activity.status === 1 && activity.public === false" class="col-auto"><span class="material-icons icon-align">done</span>{{ enumUtils.toDmpStatusString(activity.status) }}</span>
|
||||||
<!-- <span class="draft"><span class="material-icons">create</span>Draft</span> -->
|
<span *ngIf="activity.status === 0" class=" col-auto draft"><span class="material-icons icon-align">create</span>{{ enumUtils.toDmpStatusString(activity.status) }}</span>
|
||||||
<span>.</span>
|
<span>.</span>
|
||||||
<span class="col-auto">Version 1</span>
|
<span class="col-auto">Version 1</span>
|
||||||
<span>.</span>
|
<span>.</span>
|
||||||
<span class="col-auto">Grant: NEANIAS Project</span>
|
<span class="col">{{ 'DMP-LISTING.GRANT' | translate }}: {{activity.grant}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto dmp-dataset-descriptions-title">Contained Dataset Descriptions (5)
|
<div class="col-auto dmp-dataset-descriptions-title">Contained Dataset Descriptions (5)
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,8 +55,7 @@
|
||||||
<div class="dataset-subtitle">
|
<div class="dataset-subtitle">
|
||||||
<span class="col-auto">Owner</span>
|
<span class="col-auto">Owner</span>
|
||||||
<span>.</span>
|
<span>.</span>
|
||||||
<span class="col-auto"><span
|
<span class="col-auto"><span class="material-icons icon-align">done</span>Finalized</span>
|
||||||
class="material-icons icon-align">done</span>Finalized</span>
|
|
||||||
<!-- <span><span class="material-icons">create</span>Draft</span> -->
|
<!-- <span><span class="material-icons">create</span>Draft</span> -->
|
||||||
<span>.</span>
|
<span>.</span>
|
||||||
<span class="col-auto">Grant: NEANIAS Project</span>
|
<span class="col-auto">Grant: NEANIAS Project</span>
|
||||||
|
|
|
@ -8,7 +8,7 @@ $mat-card-header-size: 40px !default;
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress-bar {
|
.progress-bar {
|
||||||
top: 70px;
|
top: 80px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
@ -385,10 +385,12 @@
|
||||||
},
|
},
|
||||||
"DMP-LISTING": {
|
"DMP-LISTING": {
|
||||||
"DMP": "DMP",
|
"DMP": "DMP",
|
||||||
|
"GRANT": "Grant",
|
||||||
"TITLE": "Data Management Plans",
|
"TITLE": "Data Management Plans",
|
||||||
"OWNER": "Owner",
|
"OWNER": "Owner",
|
||||||
"MEMBER": "Member",
|
"MEMBER": "Member",
|
||||||
"CREATOR": "Creator",
|
"CREATOR": "Creator",
|
||||||
|
"EDITED": "Edited",
|
||||||
"COLUMNS": {
|
"COLUMNS": {
|
||||||
"NAME": "Name",
|
"NAME": "Name",
|
||||||
"GRANT": "Grant",
|
"GRANT": "Grant",
|
||||||
|
|
|
@ -385,10 +385,12 @@
|
||||||
},
|
},
|
||||||
"DMP-LISTING": {
|
"DMP-LISTING": {
|
||||||
"DMP": "DMP",
|
"DMP": "DMP",
|
||||||
|
"Grant": "Subvención",
|
||||||
"TITLE": "Planes de Gestión de Datos",
|
"TITLE": "Planes de Gestión de Datos",
|
||||||
"OWNER": "Propietario",
|
"OWNER": "Propietario",
|
||||||
"MEMBER": "Miembro",
|
"MEMBER": "Miembro",
|
||||||
"CREATOR": "Creator",
|
"CREATOR": "Creator",
|
||||||
|
"EDITED": "Editado en",
|
||||||
"COLUMNS": {
|
"COLUMNS": {
|
||||||
"NAME": "Nombre",
|
"NAME": "Nombre",
|
||||||
"GRANT": "Subvención",
|
"GRANT": "Subvención",
|
||||||
|
|
|
@ -385,10 +385,12 @@
|
||||||
},
|
},
|
||||||
"DMP-LISTING": {
|
"DMP-LISTING": {
|
||||||
"DMP": "DMP",
|
"DMP": "DMP",
|
||||||
|
"GRANT": "Grant",
|
||||||
"TITLE": "Σχέδια Διαχείρισης Δεδομένων",
|
"TITLE": "Σχέδια Διαχείρισης Δεδομένων",
|
||||||
"OWNER": "Κάτοχος",
|
"OWNER": "Κάτοχος",
|
||||||
"MEMBER": "Μέλος",
|
"MEMBER": "Μέλος",
|
||||||
"CREATOR": "Συντάκτης",
|
"CREATOR": "Συντάκτης",
|
||||||
|
"EDITED": "Επεξεργάστηκε",
|
||||||
"COLUMNS": {
|
"COLUMNS": {
|
||||||
"NAME": "Τίτλος",
|
"NAME": "Τίτλος",
|
||||||
"GRANT": "Επιχορήγηση",
|
"GRANT": "Επιχορήγηση",
|
||||||
|
|
Loading…
Reference in New Issue