From: Tobias Diekershoff Date: Sat, 17 Nov 2018 17:33:12 +0000 (+0100) Subject: Add link to user groups from /contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6be831fd32fbf4e3f9122c92009f63a039f022f6;p=friendica.git Add link to user groups from /contact There was no way to get to the contact group editor from the contact overview. Additionally the documentation about the used accesskeys was updated. --- diff --git a/doc/Accesskeys.md b/doc/Accesskeys.md index 8e889fa99c..9158efd582 100644 --- a/doc/Accesskeys.md +++ b/doc/Accesskeys.md @@ -46,6 +46,7 @@ General * i - Only show ignored contacts * y - Only show archived contacts * h - Only show hidden contacts +* e - Edit contact groups ../contacts (single contact view) ------------------------------- diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 810d5550ca..80e9c73b63 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -755,6 +755,14 @@ class Contact extends BaseModule 'id' => 'showhidden-tab', 'accesskey' => 'h', ], + [ + 'label' => L10n::t('Groups'), + 'url' => 'group', + 'sel' => ($hidden) ? 'active' : '', + 'title' => L10n::t('Organize your contact groups'), + 'id' => 'contactgroups-tab', + 'accesskey' => 'e', + ], ]; $tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');