2018-09-21 04:51:18 +02:00
|
|
|
<div class="reblog" *ngIf="reblog">
|
2019-01-28 07:28:17 +01:00
|
|
|
<a class="reblog__profile-link" href (click)="openAccount(status.account)">{{ status.account.display_name }} <img
|
|
|
|
*ngIf="reblog" class="reblog__avatar" src="{{ status.account.avatar }}" /></a> boosted
|
2018-09-21 04:51:18 +02:00
|
|
|
</div>
|
2019-04-02 05:32:07 +02:00
|
|
|
<div *ngIf="notificationType === 'favourite'">
|
|
|
|
<div class="notification--icon">
|
|
|
|
<fa-icon class="favorite" [icon]="faStar"></fa-icon>
|
|
|
|
</div>
|
|
|
|
<div class="notification--label">
|
|
|
|
<a href class="notification--link"
|
|
|
|
(click)="openAccount(notificationAccount)">{{ notificationAccount.display_name }}</a> favorited your status
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="notificationType === 'reblog'">
|
|
|
|
<div class="notification--icon">
|
|
|
|
<fa-icon class="boost" [icon]="faRetweet"></fa-icon>
|
|
|
|
</div>
|
|
|
|
<div class="notification--label">
|
|
|
|
<a href class="notification--link" (click)="openAccount(notificationAccount)">{{ notificationAccount.display_name }}</a> boosted your status
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-19 07:03:07 +02:00
|
|
|
<div class="status">
|
2019-04-02 05:32:07 +02:00
|
|
|
<div [ngClass]="{'notification--status': notificationAccount }">
|
|
|
|
<a href class="status__profile-link" title="{{displayedStatus.account.acct}}"
|
|
|
|
(click)="openAccount(displayedStatus.account)">
|
|
|
|
<img [class.status__avatar--boosted]="reblog || notificationAccount" class="status__avatar"
|
|
|
|
src="{{ displayedStatus.account.avatar }}" />
|
|
|
|
<!-- <img *ngIf="reblog" class="status__avatar--reblog" src="{{ status.account.avatar }}" /> -->
|
|
|
|
<img *ngIf="notificationAccount" class="notification--avatar" src="{{ notificationAccount.avatar }}" />
|
|
|
|
<span class="status__name">
|
|
|
|
<span class="status__name--displayname"
|
|
|
|
innerHTML="{{displayedStatus.account.display_name}}"></span><span
|
|
|
|
class="status__name--username">{{displayedStatus.account.acct}}</span>
|
|
|
|
</span>
|
2019-01-28 07:28:17 +01:00
|
|
|
</a>
|
2019-04-02 05:32:07 +02:00
|
|
|
<div class="status__created-at" title="{{ displayedStatus.created_at | date: 'full' }}">
|
|
|
|
<a class="status__created-at--link" href="{{ displayedStatus.url }}" target="_blank">
|
|
|
|
{{ status.created_at | timeAgo | async }}
|
|
|
|
</a>
|
2019-02-24 08:01:44 +01:00
|
|
|
</div>
|
2019-04-02 05:32:07 +02:00
|
|
|
<div class="status__labels">
|
|
|
|
<div class="status__labels--label status__labels--bot" title="bot" *ngIf="status.account.bot">
|
|
|
|
bot
|
|
|
|
</div>
|
|
|
|
<div class="status__labels--label status__labels--xpost" title="this status was cross-posted"
|
|
|
|
*ngIf="isCrossPoster">
|
|
|
|
x-post
|
|
|
|
</div>
|
|
|
|
<div class="status__labels--label status__labels--thread" title="thread" *ngIf="isThread">
|
|
|
|
thread
|
|
|
|
</div>
|
|
|
|
<div class="status__labels--label status__labels--discuss" title="this status has a discution"
|
|
|
|
*ngIf="hasReply">
|
|
|
|
replies
|
|
|
|
</div>
|
2019-03-01 06:59:12 +01:00
|
|
|
</div>
|
2019-04-02 05:32:07 +02:00
|
|
|
<!-- <div #content class="status__content" innerHTML="{{displayedStatus.content}}"></div> -->
|
2018-10-28 04:58:00 +01:00
|
|
|
|
2019-04-02 05:32:07 +02:00
|
|
|
<a href class="status__content-warning" *ngIf="isContentWarned" title="show content"
|
|
|
|
(click)="removeContentWarning()">
|
|
|
|
<span class="status__content-warning--title">sensitive content</span>
|
|
|
|
{{ contentWarningText }}
|
|
|
|
</a>
|
|
|
|
<app-databinded-text class="status__content" *ngIf="!isContentWarned" [text]="displayedStatus.content"
|
|
|
|
(accountSelected)="accountSelected($event)" (hashtagSelected)="hashtagSelected($event)"
|
|
|
|
(textSelected)="textSelected()"></app-databinded-text>
|
|
|
|
<app-attachements *ngIf="!isContentWarned && hasAttachments" class="attachments"
|
|
|
|
[attachments]="displayedStatus.media_attachments">
|
|
|
|
</app-attachements>
|
2018-10-13 07:10:43 +02:00
|
|
|
|
2019-04-02 05:32:07 +02:00
|
|
|
<app-action-bar #appActionBar [statusWrapper]="statusWrapper" (cwIsActiveEvent)="changeCw($event)"
|
|
|
|
(replyEvent)="openReply()"></app-action-bar>
|
|
|
|
</div>
|
|
|
|
<app-create-status *ngIf="replyingToStatus" [statusReplyingToWrapper]="statusWrapper"
|
|
|
|
(onClose)="closeReply()"></app-create-status>
|
2018-09-21 03:52:04 +02:00
|
|
|
</div>
|