aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-07 19:14:19 +0100
committerMario <mario@mariovavti.com>2018-01-07 19:47:48 +0100
commitfefc78a849ade52927f6ae88a3c1f03501d66930 (patch)
tree9344ee00f8a30946467d9d149001ea43bd7f36ac /view/tpl
parentffe058d48f5a8c4d38c893ece09cdaac8078e9e5 (diff)
downloadvolse-hubzilla-fefc78a849ade52927f6ae88a3c1f03501d66930.tar.gz
volse-hubzilla-fefc78a849ade52927f6ae88a3c1f03501d66930.tar.bz2
volse-hubzilla-fefc78a849ade52927f6ae88a3c1f03501d66930.zip
start with nonactive state for the notifications button and display some text if there are no notifications on small screens only
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/notifications_widget.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index 095fa8056..9d2e08c41 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -85,6 +85,9 @@
{{if $notifications}}
<div id="notifications_wrapper">
+ <div id="no_notifications" class="d-xl-none">
+ {{$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="notifications" class="navbar-nav" data-children=".nav-item">
<div id="nav-notifications-template" rel="template">
<a class="list-group-item clearfix notification {5}" href="{0}" title="{2} {3}" data-b64mid="{6}" data-notify_id="{7}" data-thread_top="{8}">