quoted-status.html 629 B

12345678910111213
  1. <!-- Generated template for the QuotedStatusComponent component -->
  2. <div class="quoted-tweet">
  3. <div class="header">
  4. <img src="{{ data.user.profile_image_url_https }}" alt="{{ data.user.name }}" class="avatar">
  5. <span>{{ data.user.name }}</span>
  6. <span class="twitter-handle">@{{ data.user.screen_name }}</span>
  7. <span class="timestamp">{{ data.created_at | diffForHumans }}</span>
  8. </div>
  9. <div class="body">
  10. <p>{{ data.full_text }}</p>
  11. <img *ngIf="hasPhoto" src="{{ data.entities.media[0]['media_url_https'] }}" alt="Photo" (click)="showPhoto(data.entities.media[0]['media_url_https'])">
  12. </div>
  13. </div>