<divclassName='notification notification-follow focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.follow',defaultMessage:'{name} followed you'},{name:account.get('acct')}),notification.get('created_at'))}>
<divclassName='notification notification-follow focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.follow',defaultMessage:'{name} followed you'},{name:notification.getIn(['account','acct'])}),notification.get('created_at'))}>
<divclassName={classNames('notification notification-follow-request focusable',{unread})}tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.follow_request',defaultMessage:'{name} has requested to follow you'},{name:account.get('acct')}),notification.get('created_at'))}>
<divclassName={classNames('notification notification-follow-request focusable',{unread})}tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.follow_request',defaultMessage:'{name} has requested to follow you'},{name:notification.getIn(['account','acct'])}),notification.get('created_at'))}>
@ -168,9 +191,12 @@ class Notification extends ImmutablePureComponent {
);
}
renderChatMention(notification, link) {
renderChatMention(notification) {
const{intl}=this.props;
constaccount=notification.get('account');
constlink=this.renderLink(account);
return(
<HotKeyshandlers={this.getHandlers()}>
<divclassName='notification notification-chat-mention focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.chat_mention',defaultMessage:'{name} sent you a message'},{name:notification.getIn(['account','acct'])}),notification.get('created_at'))}>
@ -195,9 +221,12 @@ class Notification extends ImmutablePureComponent {
);
}
renderEmojiReact(notification, link) {
renderEmojiReact(notification) {
const{intl}=this.props;
constaccount=notification.get('account');
constlink=this.renderLink(account);
return(
<HotKeyshandlers={this.getHandlers()}>
<divclassName='notification notification-emoji-react focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.pleroma:emoji_reaction',defaultMessage:'{name} reacted to your post'},{name:notification.getIn(['account','acct'])}),notification.get('created_at'))}>
@ -212,7 +241,7 @@ class Notification extends ImmutablePureComponent {
</div>
<StatusContainer
id={notification.get('status')}
id={notification.getIn(['status','id'])}
account={notification.get('account')}
muted
withDismiss
@ -227,9 +256,12 @@ class Notification extends ImmutablePureComponent {
);
}
renderFavourite(notification, link) {
renderFavourite(notification) {
const{intl}=this.props;
constaccount=notification.get('account');
constlink=this.renderLink(account);
return(
<HotKeyshandlers={this.getHandlers()}>
<divclassName='notification notification-favourite focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.favourite',defaultMessage:'{name} liked your post'},{name:notification.getIn(['account','acct'])}),notification.get('created_at'))}>
@ -244,7 +276,7 @@ class Notification extends ImmutablePureComponent {
</div>
<StatusContainer
id={notification.get('status')}
id={notification.getIn(['status','id'])}
account={notification.get('account')}
muted
withDismiss
@ -259,9 +291,12 @@ class Notification extends ImmutablePureComponent {
);
}
renderReblog(notification, link) {
renderReblog(notification) {
const{intl}=this.props;
constaccount=notification.get('account');
constlink=this.renderLink(account);
return(
<HotKeyshandlers={this.getHandlers()}>
<divclassName='notification notification-reblog focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.reblog',defaultMessage:'{name} reposted your post'},{name:notification.getIn(['account','acct'])}),notification.get('created_at'))}>
@ -276,7 +311,7 @@ class Notification extends ImmutablePureComponent {
</div>
<StatusContainer
id={notification.get('status')}
id={notification.getIn(['status','id'])}
account={notification.get('account')}
muted
withDismiss
@ -308,7 +343,7 @@ class Notification extends ImmutablePureComponent {
</div>
<StatusContainer
id={notification.get('status')}
id={notification.getIn(['status','id'])}
account={notification.get('account')}
muted
withDismiss
@ -323,14 +358,17 @@ class Notification extends ImmutablePureComponent {
<divclassName='notification notification-move focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.move',defaultMessage:'{name} moved to {targetName}'},{name:account.get('acct'),targetName:targetAccount.get('acct')}),notification.get('created_at'))}>
<divclassName='notification notification-move focusable'tabIndex='0'aria-label={notificationForScreenReader(intl,intl.formatMessage({id:'notification.move',defaultMessage:'{name} moved to {targetName}'},{name:notification.getIn(['account','acct']),targetName:notification.getIn(['target','acct'])}),notification.get('created_at'))}>