aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-29 19:53:00 +0000
committerMario <mario@mariovavti.com>2020-07-29 19:53:00 +0000
commite31903cbc9fd9d1230fb4472f25f03f493e79629 (patch)
tree4d83fbde4e25a949d8306d67580135e93d8899bc /view/tpl
parent33d417955d1c84577ef01b00c3dd483028e93246 (diff)
downloadvolse-hubzilla-e31903cbc9fd9d1230fb4472f25f03f493e79629.tar.gz
volse-hubzilla-e31903cbc9fd9d1230fb4472f25f03f493e79629.tar.bz2
volse-hubzilla-e31903cbc9fd9d1230fb4472f25f03f493e79629.zip
add some context to the notifications
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/notifications_widget.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index bf2c4c945..d8cc76ccb 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -36,12 +36,12 @@
var path = $(this)[0].pathname.substr(1,7);
var stateObj = { b64mid: b64mid };
- if(b64mid === 'undefined' && notify_id === 'undefined')
+ if(! b64mid && ! notify_id)
return;
{{if $module != 'hq' && $startpage == 'hq'}}
e.preventDefault();
- if(typeof notify_id !== 'undefined' && notify_id !== 'undefined') {
+ if(notify_id != null) {
$.post(
"hq",
{
@@ -142,9 +142,9 @@
{{$no_notifications}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span>
</div>
<div id="nav-notifications-template" rel="template">
- <a class="list-group-item clearfix notification {6}" href="{0}" title="{3}" data-b64mid="{7}" data-notify_id="{8}" data-thread_top="{9}" data-contact_name="{2}" data-contact_addr="{3}" data-when="{5}">
+ <a class="list-group-item clearfix notification {6}" href="{0}" title="{13}" data-b64mid="{7}" data-notify_id="{8}" data-thread_top="{9}" data-contact_name="{2}" data-contact_addr="{3}" data-when="{5}">
<img class="menu-img-3" src="{1}">
- <span class="contactname">{2}</span>
+ <span class="contactname">{2} <span class="font-weight-normal text-muted">{3}</span></span>
<span class="dropdown-sub-text">{4}</span><br>
<span class="dropdown-sub-text notifications-autotime" title="{5}">{5}</span>
</a>