aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-23 14:59:40 +0000
committerMario <mario@mariovavti.com>2021-09-23 14:59:40 +0000
commit0588975e372f863aa2d74bbff0ac2b9778852431 (patch)
tree30d22ae530e835f5e202ba4c75219ebac254dc0d
parente0600b241a8a1bd5f1296bb0dcd5ae12b6cff701 (diff)
downloadvolse-hubzilla-0588975e372f863aa2d74bbff0ac2b9778852431.tar.gz
volse-hubzilla-0588975e372f863aa2d74bbff0ac2b9778852431.tar.bz2
volse-hubzilla-0588975e372f863aa2d74bbff0ac2b9778852431.zip
Ãfix wrong variable name and streamline icon with unseen notifications icon
-rw-r--r--Zotlabs/Widget/Messages.php2
-rw-r--r--view/tpl/messages_widget.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php
index 1b6e6f914..22662a01d 100644
--- a/Zotlabs/Widget/Messages.php
+++ b/Zotlabs/Widget/Messages.php
@@ -211,7 +211,7 @@ class Messages {
$summary = trim(strip_tags(bbcode($notice['msg'])));
- if(strpos($summary, $notification['xname']) === 0) {
+ if(strpos($summary, $notice['xname']) === 0) {
$summary = substr($summary, strlen($notice['xname']) + 1);
}
diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl
index 65afaf7ae..83f563db6 100644
--- a/view/tpl/messages_widget.tpl
+++ b/view/tpl/messages_widget.tpl
@@ -18,7 +18,7 @@
{{/if}}
<li class="nav-item">
<a class="nav-link messages-type" href="#" title="{{$strings.notice_messages_title}}" data-messages_type="notification">
- <i class="fa fa-fw fa-exclamation-circle"></i>
+ <i class="fa fa-fw fa-exclamation"></i>
</a>
</li>
</ul>