diff options
author | Mario <mario@mariovavti.com> | 2022-07-15 17:50:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-07-15 17:50:02 +0000 |
commit | d6a9a9927c23e8b4307dc2164407481f8c542682 (patch) | |
tree | df67d55b5e19b884c02d92e014cfd5c4e24406ad /Zotlabs/Widget | |
parent | 40b46368584036ede12fbc94619497bba73b6095 (diff) | |
download | volse-hubzilla-d6a9a9927c23e8b4307dc2164407481f8c542682.tar.gz volse-hubzilla-d6a9a9927c23e8b4307dc2164407481f8c542682.tar.bz2 volse-hubzilla-d6a9a9927c23e8b4307dc2164407481f8c542682.zip |
HQ dashboard - initial checkin
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Hq_controls.php | 25 |
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, |