|
@@ -1,12 +1,12 @@
|
|
<!-- Generated template for the TweetActionsComponent component -->
|
|
<!-- Generated template for the TweetActionsComponent component -->
|
|
<div class="actions-container">
|
|
<div class="actions-container">
|
|
- <div class="retweets" *ngIf="!data.user.protected" (click)="retweetStatus(data.id_str)">
|
|
|
|
|
|
+ <div class="retweets" *ngIf="!data.user.protected" (click)="retweetStatus(id)">
|
|
<ion-icon name="ios-git-compare-outline"></ion-icon>
|
|
<ion-icon name="ios-git-compare-outline"></ion-icon>
|
|
<span>{{ data.retweet_count | friendlyNumber }}</span>
|
|
<span>{{ data.retweet_count | friendlyNumber }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="likes" *ngIf="!data.private_tweet">
|
|
<div class="likes" *ngIf="!data.private_tweet">
|
|
<ion-icon *ngIf="data.favorited" name="ios-heart" (click)="removeLike(data.id_str)" color="danger"></ion-icon>
|
|
<ion-icon *ngIf="data.favorited" name="ios-heart" (click)="removeLike(data.id_str)" color="danger"></ion-icon>
|
|
<ion-icon *ngIf="!data.favorited" name="ios-heart-outline" (click)="like(data.id_str)"></ion-icon>
|
|
<ion-icon *ngIf="!data.favorited" name="ios-heart-outline" (click)="like(data.id_str)"></ion-icon>
|
|
- <span>{{ data.favorite_count | friendlyNumber }}</span>
|
|
|
|
|
|
+ <span>{{ favoriteCount | friendlyNumber }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|