added emojis in notifications

This commit is contained in:
Nicolas Constant 2019-04-26 14:23:24 +02:00
parent 5181fd2d3d
commit ae689f9730
1 changed files with 2 additions and 3 deletions

View File

@ -23,14 +23,13 @@
<fa-icon class="followed" [icon]="faUserPlus"></fa-icon> <fa-icon class="followed" [icon]="faUserPlus"></fa-icon>
</div> </div>
<div class="stream__notification--label"> <div class="stream__notification--label">
<a href class="stream__link" <a href class="stream__link" (click)="openAccount(notification.account)" innerHTML="{{ notification.account | accountEmoji }}"></a> followed
(click)="openAccount(notification.account)">{{ notification.account.display_name }}</a> followed
you! you!
</div> </div>
<a href (click)="openAccount(notification.account)" class="follow-account" title="{{notification.account.acct}}"> <a href (click)="openAccount(notification.account)" class="follow-account" title="{{notification.account.acct}}">
<img class="follow-account__avatar" src="{{ notification.account.avatar }}" /> <img class="follow-account__avatar" src="{{ notification.account.avatar }}" />
<span class="follow-account__display-name" >{{ notification.account.display_name }}</span> <span class="follow-account__display-name" innerHTML="{{ notification.account | accountEmoji }}"></span>
<span class="follow-account__acct">@{{ notification.account.acct }}</span> <span class="follow-account__acct">@{{ notification.account.acct }}</span>
</a> </a>
</div> </div>