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
父節點 f5d58d07e1
當前提交 6be831fd32
共有 2 個檔案被更改,包括 9 行新增0 行删除

查看文件

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

查看文件

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