Skip to content
Snippets Groups Projects
Unverified Commit 2877d039 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #384 from HumanBrainProject/bugfix/dialogContent

fixes #382
parents 060dc425 82496256
No related branches found
No related tags found
No related merge requests found
<!-- title --> <!-- title -->
<mat-card-subtitle *ngIf="!simpleMode"> <mat-card-subtitle>
{{ name }} {{ name }}
</mat-card-subtitle> </mat-card-subtitle>
<mat-card-content *ngIf="simpleMode"> <mat-card-content mat-dialog-content>
<small> <mat-grid-list *ngIf="false" [cols]="kgReference.length + (preview ? 1 : 0) + (downloadEnabled ? 2 : 0)" rowHeight="4em">
{{ name }}
</small>
<mat-grid-list [cols]="kgReference.length + (preview ? 1 : 0) + (downloadEnabled ? 2 : 0)" rowHeight="4em">
<!-- explore --> <!-- explore -->
<mat-grid-tile *ngFor="let kgRef of kgReference"> <mat-grid-tile *ngFor="let kgRef of kgReference">
...@@ -57,19 +54,15 @@ ...@@ -57,19 +54,15 @@
</button> </button>
</mat-grid-tile> </mat-grid-tile>
</mat-grid-list> </mat-grid-list>
</mat-card-content>
<!-- description --> <!-- description -->
<mat-card-content *ngIf="!simpleMode">
<small> <small>
<markdown-dom [markdown]="description"> <markdown-dom class="d-block" [markdown]="description">
</markdown-dom> </markdown-dom>
</small> </small>
</mat-card-content>
<!-- publications --> <!-- publications -->
<mat-card-content *ngIf="!simpleMode">
<small class="d-block mb-2" <small class="d-block mb-2"
*ngFor="let publication of publications"> *ngFor="let publication of publications">
<a *ngIf="publication.doi; else plainText" <a *ngIf="publication.doi; else plainText"
...@@ -86,7 +79,7 @@ ...@@ -86,7 +79,7 @@
<!-- footer --> <!-- footer -->
<mat-card-actions *ngIf="!simpleMode"> <mat-card-actions>
<!-- explore --> <!-- explore -->
<a *ngFor="let kgRef of kgReference" <a *ngFor="let kgRef of kgReference"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment