]> git.mxchange.org Git - friendica.git/commitdiff
Add link to user groups from /contact
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 17 Nov 2018 17:33:12 +0000 (18:33 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 17 Nov 2018 17:33:12 +0000 (18:33 +0100)
There was no way to get to the contact group editor from the contact overview.

Additionally the documentation about the used accesskeys was updated.

doc/Accesskeys.md
src/Module/Contact.php

index 8e889fa99c28bee8894d513d9fbddecd966351eb..9158efd58216fd40b26f75a8fa86550011ab5cbf 100644 (file)
@@ -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)
 -------------------------------
index 810d5550cacb7af7cb55bb2f4e3507f0c8b9531a..80e9c73b63b7528021c6771448dea494077d402f 100644 (file)
@@ -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');