aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Hq_controls.php
diff options
context:
space:
mode:
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,