Skip to content

Commit

Permalink
Step 12.16: Added view for picture message
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Mar 23, 2017
1 parent 57c0026 commit 256a690
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/messages/messages.html
Expand Up @@ -24,6 +24,7 @@
<sebm-google-map-marker [latitude]="getLocation(message.content).lat" [longitude]="getLocation(message.content).lng"></sebm-google-map-marker>
</sebm-google-map>
</div>
<img *ngIf="message.type == 'picture'" (click)="showPicture($event)" class="message-content message-content-picture" [src]="message.content">

<span class="message-timestamp">{{ message.createdAt | amDateFormat: 'HH:mm' }}</span>
</div>
Expand Down

0 comments on commit 256a690

Please sign in to comment.