tweet-header.html 764 B

1234567891011121314
  1. <!-- Generated template for the TweetHeaderComponent component -->
  2. <div class="header-container">
  3. <img src="{{ user.profile_image_url_https }}" alt="{{ user.name }}" class="avatar" (click)="showProfile(user.id_str)">
  4. <div class="username" (click)="showProfile(user.id_str)">
  5. <span>
  6. {{ user.name }}
  7. <ion-icon name="ios-checkmark-circle" *ngIf="user.verified" class="icon-verified"></ion-icon>
  8. <ion-icon name="ios-lock-outline" *ngIf="user.protected" class="icon-protected"></ion-icon>
  9. </span>
  10. <span class="twitter-handle">@{{user.screen_name}}</span>
  11. </div>
  12. <div class="timestamp">{{ tweetCreatedAt | diffForHumans }}</div>
  13. <ion-icon name="ios-arrow-down" class="options" (click)="showActions(user.id_str)"></ion-icon>
  14. </div>