aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
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 /Zotlabs
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 'Zotlabs')
-rw-r--r--Zotlabs/Widget/Notifications.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index a677d84c9..5a0c1f3d5 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -144,6 +144,7 @@ class Notifications {
$o = replace_macros(get_markup_template('notifications_widget.tpl'), array(
'$module' => \App::$module,
'$notifications' => $notifications,
+ '$no_notifications' => t('Sorry, you have got no notifications at the moment'),
'$loading' => t('Loading')
));