<!--
  Generated template for the EventUploadPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary">
    <ion-title>Event Detail</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
    <h2>{{ title }}</h2>
    <button ion-button (click)="selectImage()" color="tertiary" size='small' block>{{ msg }}</button>
     <div *ngIf="eventPhotos">
        <ion-card *ngFor="let p of eventPhotos">
            <img [src]="'https://hc.simplico.net/static/events/'+p.fileURL"/>
            <ion-card-content>
            <p>Created At: {{ p.created_at.$date | date :"medium" }}</p>
            </ion-card-content>
        </ion-card>
     </div>

</ion-content>
