friendica-github/view/templates/notifications/notification.tpl

16 lines
560 B
Smarty
Raw Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
<div class="notif-item {{if !$item_seen}}unseen{{/if}}" {{if $item_seen}}aria-hidden="true"{{/if}}>
<a href="{{$notification.link}}">
<img src="{{$notification.image}}" aria-hidden="true" class="notif-image">
2024-08-07 11:57:13 +00:00
<link rel="stylesheet" href="view/global.css">
<span class="notif-text">{{$notification.text}}</span>
<span class="notif-when">{{$notification.ago}}</span>
</a>
</div>