1
1
Fork 0

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.
This commit is contained in:
Tobias Diekershoff 2018-11-17 18:33:12 +01:00
parent f5d58d07e1
commit 6be831fd32
2 changed files with 9 additions and 0 deletions

View 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)
-------------------------------

View 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');