]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/notifications_friends_item.tpl
Merge pull request #4723 from tobiasd/20180401-lng
[friendica.git] / view / templates / notifications_friends_item.tpl
index 9913e6cf71ffa05f83a4556775160baf8c9dc7c9..2550806713c36314c4434144521169134b210896 100644 (file)
@@ -1,8 +1,4 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
-<div class="notif-item">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_ago}}</span></a>
 </div>
\ No newline at end of file