aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Hq_controls.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-07-26 18:00:00 +0000
committerMario <mario@mariovavti.com>2022-07-26 18:00:00 +0000
commit40377796edd8c612ce9d68f52fc146ad32302f9e (patch)
tree92cce4a3ee3627ed28f45ce8f0bb3598be87c8c9 /Zotlabs/Widget/Hq_controls.php
parentc452a621fe7db5405d929ebc5f5433c9670fc367 (diff)
parentfedad7f31a1b9133bfd63de7fc19de6916485254 (diff)
downloadvolse-hubzilla-7.6.tar.gz
volse-hubzilla-7.6.tar.bz2
volse-hubzilla-7.6.zip
Merge branch '7.6RC'7.6
Diffstat (limited to 'Zotlabs/Widget/Hq_controls.php')
-rw-r--r--Zotlabs/Widget/Hq_controls.php25
1 files changed, 16 insertions, 9 deletions
diff --git a/Zotlabs/Widget/Hq_controls.php b/Zotlabs/Widget/Hq_controls.php
index 7b1fe817d..51212d145 100644
--- a/Zotlabs/Widget/Hq_controls.php
+++ b/Zotlabs/Widget/Hq_controls.php
@@ -19,15 +19,13 @@ class Hq_controls {
if (! local_channel())
return;
- $entries = [
- 'toggle_editor' => [
- 'label' => t('Toggle post editor'),
- 'href' => '#',
- 'class' => 'btn jot-toggle',
- 'type' => 'button',
- 'icon' => 'pencil',
- 'extra' => 'data-toggle="button"'
- ]
+ $entries['toggle_editor'] = [
+ 'label' => t('Toggle post editor'),
+ 'href' => '#',
+ 'class' => 'btn jot-toggle',
+ 'type' => 'button',
+ 'icon' => 'pencil',
+ 'extra' => 'data-toggle="button"'
];
if(Apps::system_app_installed(local_channel(), 'Notes')) {
@@ -41,6 +39,15 @@ class Hq_controls {
];
}
+ $entries['toggle_channel_activities'] = [
+ 'label' => t('Channel activities'),
+ 'href' => '#',
+ 'class' => 'btn channel-activities-toggle d-none',
+ 'type' => 'button',
+ 'icon' => 'user-circle-o',
+ 'extra' => 'data-toggle="button"'
+ ];
+
return replace_macros(get_markup_template('hq_controls.tpl'),
[
'$entries' => $entries,