|
|
@ -4,6 +4,19 @@ |
|
|
|
<button class="back icon-back" (click)="back()"></button> |
|
|
|
<h2 class="title">{{details.title}}</h2> |
|
|
|
|
|
|
|
|
|
|
|
<div class="row no-gutters gallery" *ngIf="details.gallery && details.gallery.length"> |
|
|
|
<div class="col-12" *ngFor="let image of details.gallery" |
|
|
|
[ngClass]="{'col-md-6': details.gallery.length < 4 && (details.gallery.length % 3) == 2, |
|
|
|
'col-md-12': details.gallery.length < 4 && (details.gallery.length % 3) == 1, |
|
|
|
'col-md-4': details.gallery.length >= 3}"> |
|
|
|
<div class="gallery-container"> |
|
|
|
<span class="gallery-title">{{image.title}}</span> |
|
|
|
<img class="image" [src]="image.url"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="date-container" *ngIf="section == 'exhibitions'"> |
|
|
|
<span class="date-indication" *ngIf="details.date_from != details.date_to">from</span> |
|
|
|
<span class="date-indication" *ngIf="details.date_from == details.date_to">on</span> |
|
|
|