2019-10-23 17:36:29 +02:00
|
|
|
<div class="listing-item">
|
|
|
|
<a [routerLink]="['/datasets/edit/' + dataset.id]">
|
|
|
|
<div class="col">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 gray-container container-header">
|
2019-10-30 17:15:16 +01:00
|
|
|
<p (click)="$event.stopImmediatePropagation();">{{ dataset.grantAbbreviation }}</p>
|
|
|
|
<!-- <p (click)="$event.stopImmediatePropagation(); grantClicked(dataset)">{{ dataset.grantAbbreviation }}</p> -->
|
|
|
|
<!-- <button mat-icon-button [matMenuTriggerFor]="actionsMenu" class="ml-auto" (click)="$event.stopImmediatePropagation();">
|
|
|
|
<mat-icon class="more-horiz">more_horiz</mat-icon>
|
|
|
|
</button> -->
|
2019-10-23 17:36:29 +02:00
|
|
|
</div>
|
2019-05-14 10:51:39 +02:00
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
<div class="row">
|
2019-10-30 17:15:16 +01:00
|
|
|
<div class="col-auto">
|
2019-10-23 17:36:29 +02:00
|
|
|
<mat-icon *ngIf="isDraft" matTooltip="{{'DATASET-LISTING.TOOLTIP.DATASET-STATUS.DRAFT' | translate}}" class="draft-bookmark">
|
|
|
|
bookmark
|
|
|
|
</mat-icon>
|
|
|
|
<mat-icon *ngIf="!isDraft" matTooltip="{{'DATASET-LISTING.TOOLTIP.DATASET-STATUS.FINALIZED' | translate}}" class="finalized-bookmark">
|
|
|
|
bookmark
|
2019-07-18 11:11:35 +02:00
|
|
|
</mat-icon>
|
2019-09-26 17:08:04 +02:00
|
|
|
</div>
|
2019-10-30 17:15:16 +01:00
|
|
|
<div class="col">
|
|
|
|
<div class="row d-flex flex-wrap">
|
|
|
|
<div class="col pl-0">
|
|
|
|
<h4 class="title pl-0" *ngIf="isDraft">
|
|
|
|
<span>{{ 'TYPES.DATASET-STATUS.DRAFT' | translate }}:</span> {{ dataset.label }}</h4>
|
|
|
|
<h4 class="title pl-0" *ngIf="!isDraft">{{ dataset.label }}</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
<div class="row">
|
2019-10-30 17:15:16 +01:00
|
|
|
<div class="col-12 pl-0">
|
|
|
|
<p class="mt-1 mb-2">{{dataset.description}}</p>
|
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
</div>
|
2019-10-30 17:15:16 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-auto about-item pl-0">
|
|
|
|
<a class="row storage" [routerLink]="['/plans/edit/' + dataset.dmpId]">
|
|
|
|
<mat-icon matTooltip="{{'DATASET-LISTING.TOOLTIP.DMP' | translate}}" class="col-auto gray-icon pr-0 pt-2">
|
|
|
|
storage
|
|
|
|
</mat-icon>
|
|
|
|
<h4 class="col mt-2 ml-1 mr-3 p-1">{{ dataset.dmp }}</h4>
|
|
|
|
</a>
|
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
|
2019-10-30 17:15:16 +01:00
|
|
|
<div class="col-auto about-item pl-0">
|
|
|
|
<div class="row">
|
|
|
|
<mat-icon matTooltip="{{'DATASET-LISTING.TOOLTIP.GRANT' | translate}}" class="col-auto gray-icon pr-0 pt-2">
|
|
|
|
work_outline
|
|
|
|
</mat-icon>
|
|
|
|
<h4 class="col mt-2 ml-1 mr-3 p-1">{{ dataset.grant }}</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-auto about-item pl-0">
|
|
|
|
<mat-icon matTooltip="{{'DATASET-LISTING.TOOLTIP.TEMPLATES-INVOLVED' | translate}}" class="gray-icon pt-2">
|
|
|
|
assignment
|
|
|
|
</mat-icon>
|
|
|
|
<div class="pt-1">
|
|
|
|
<div matTooltip="{{ dataset.profile }}" class="chip ml-2 mr-2">{{ dataset.profile }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-17 12:36:00 +01:00
|
|
|
<div class="row">
|
|
|
|
<mat-icon matTooltip="{{'DATASET-LISTING.TOOLTIP.VERSION' | translate}}" class="col-auto gray-icon pr-0 pt-2">
|
|
|
|
history
|
|
|
|
</mat-icon>
|
|
|
|
<h4 class="col mt-2 ml-1 mr-3 p-1">{{ dataset.version }}</h4>
|
|
|
|
</div>
|
2019-09-26 17:08:04 +02:00
|
|
|
|
2019-10-30 17:15:16 +01:00
|
|
|
<div class="col-auto about-item ml-auto">
|
|
|
|
<p *ngIf="isDraft">{{'DATASET-LISTING.COLUMNS.LAST-EDITED' | translate}} {{ dataset.modified | date: "shortDate"}}</p>
|
|
|
|
<p *ngIf="!isDraft">{{'DATASET-LISTING.COLUMNS.FINALIZED' | translate}} {{ dataset.finalizedAt | date: "shortDate"}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
</div>
|
2019-05-14 10:51:39 +02:00
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
<!-- <div class="info">
|
2019-10-30 17:15:16 +01:00
|
|
|
<h6>{{ dataset.dmp }}</h6>
|
|
|
|
<p>{{ dataset.grant }}</p>
|
|
|
|
</div>
|
|
|
|
<div class="row" style="margin-left: 0px !important">
|
|
|
|
<div class="chip">
|
|
|
|
<p>{{ dataset.profile }}</p>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
2019-05-14 10:51:39 +02:00
|
|
|
</div>
|
2019-10-23 17:36:29 +02:00
|
|
|
</a>
|
2019-05-08 11:53:23 +02:00
|
|
|
</div>
|
2019-05-09 15:30:39 +02:00
|
|
|
<!-- <mat-divider *ngIf="showDivider"></mat-divider> -->
|