Fixes progress bar, add some dynamic data on recent edited activities

This commit is contained in:
apapachristou 2020-06-26 15:59:02 +03:00
parent 7cf5ddfebe
commit 1bae868e5a
5 changed files with 14 additions and 10 deletions

View File

@ -4,20 +4,19 @@
<div *ngIf="true" class="dmp-card">
<div class="d-flex flex-direction-row">
<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 class="col-auto" [ngClass]="{'dmp-title': !isDraft, 'dmp-title-draft': isDraft}">
DMP for: Horizon 2020 for Grant DMP of the NEANIAS DMP plan</div>
<div class="col-auto" [ngClass]="{'dmp-title': !isDraft, 'dmp-title-draft': isDraft}">{{activity.label}}</div>
<div class="dmp-subtitle">
<span class="col-auto">Owner</span>
<span>.</span>
<span class="col-auto"><span
class="material-icons icon-align">public</span>Published</span>
<!-- <span class="draft"><span class="material-icons">create</span>Draft</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>
<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 *ngIf="activity.status === 0" class=" col-auto draft"><span class="material-icons icon-align">create</span>{{ enumUtils.toDmpStatusString(activity.status) }}</span>
<span>.</span>
<span class="col-auto">Version 1</span>
<span>.</span>
<span class="col-auto">Grant: NEANIAS Project</span>
<span class="col">{{ 'DMP-LISTING.GRANT' | translate }}: {{activity.grant}}</span>
</div>
<div class="col-auto dmp-dataset-descriptions-title">Contained Dataset Descriptions (5)
</div>
@ -56,8 +55,7 @@
<div class="dataset-subtitle">
<span class="col-auto">Owner</span>
<span>.</span>
<span class="col-auto"><span
class="material-icons icon-align">done</span>Finalized</span>
<span class="col-auto"><span class="material-icons icon-align">done</span>Finalized</span>
<!-- <span><span class="material-icons">create</span>Draft</span> -->
<span>.</span>
<span class="col-auto">Grant: NEANIAS Project</span>

View File

@ -8,7 +8,7 @@ $mat-card-header-size: 40px !default;
}
.progress-bar {
top: 70px;
top: 80px;
left: 0;
width: 100%;
position: fixed;

View File

@ -385,10 +385,12 @@
},
"DMP-LISTING": {
"DMP": "DMP",
"GRANT": "Grant",
"TITLE": "Data Management Plans",
"OWNER": "Owner",
"MEMBER": "Member",
"CREATOR": "Creator",
"EDITED": "Edited",
"COLUMNS": {
"NAME": "Name",
"GRANT": "Grant",

View File

@ -385,10 +385,12 @@
},
"DMP-LISTING": {
"DMP": "DMP",
"Grant": "Subvención",
"TITLE": "Planes de Gestión de Datos",
"OWNER": "Propietario",
"MEMBER": "Miembro",
"CREATOR": "Creator",
"EDITED": "Editado en",
"COLUMNS": {
"NAME": "Nombre",
"GRANT": "Subvención",

View File

@ -385,10 +385,12 @@
},
"DMP-LISTING": {
"DMP": "DMP",
"GRANT": "Grant",
"TITLE": "Σχέδια Διαχείρισης Δεδομένων",
"OWNER": "Κάτοχος",
"MEMBER": "Μέλος",
"CREATOR": "Συντάκτης",
"EDITED": "Επεξεργάστηκε",
"COLUMNS": {
"NAME": "Τίτλος",
"GRANT": "Επιχορήγηση",