aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-22 21:01:58 +0200
committerMario <mario@mariovavti.com>2017-10-22 21:17:20 +0200
commitd0bc81f8d2ff65833135e5d8e3485eb581a727a1 (patch)
tree403692b6c70a97f9649f2bdaac1dd61bf4214898 /view/tpl
parent0dc777bc459fd89f8015fd3ef0cc10d34d51ca96 (diff)
downloadvolse-hubzilla-d0bc81f8d2ff65833135e5d8e3485eb581a727a1.tar.gz
volse-hubzilla-d0bc81f8d2ff65833135e5d8e3485eb581a727a1.tar.bz2
volse-hubzilla-d0bc81f8d2ff65833135e5d8e3485eb581a727a1.zip
do not show seen notifys in notifications - show them in mod notifications instead. Update notifications count also on notifications updates
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/notify.tpl11
1 files changed, 9 insertions, 2 deletions
diff --git a/view/tpl/notify.tpl b/view/tpl/notify.tpl
index ae6e160b1..b5bccc8a4 100755
--- a/view/tpl/notify.tpl
+++ b/view/tpl/notify.tpl
@@ -1,3 +1,10 @@
-<div class="mb-2 notif-item">
- <a href="{{$item_link}}"><img src="{{$item_image}}" class="menu-img-1">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+<div class="mb-4 notif-item">
+ {{if ! $item_seen}}
+ <span class="float-right badge badge-pill badge-success text-uppercase">{{$new}}</span>
+ {{/if}}
+ <a href="{{$item_link}}">
+ <img src="{{$item_image}}" class="menu-img-3">
+ <span class="{{if $item_seen}}text-muted{{/if}}">{{$item_text}}</span><br>
+ <span class="dropdown-sub-text">{{$item_when}}</span>
+ </a>
</div>