Merge pull request #6158 from tobiasd/20181117-contactedittab

Add link to user groups from /contact
This commit is contained in:
Hypolite Petovan 2018-11-17 14:12:30 -05:00 committed by GitHub
commit 807afa3059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -46,6 +46,7 @@ General
* i - Only show ignored contacts * i - Only show ignored contacts
* y - Only show archived contacts * y - Only show archived contacts
* h - Only show hidden contacts * h - Only show hidden contacts
* e - Edit contact groups
../contacts (single contact view) ../contacts (single contact view)
------------------------------- -------------------------------

View file

@ -755,6 +755,14 @@ class Contact extends BaseModule
'id' => 'showhidden-tab', 'id' => 'showhidden-tab',
'accesskey' => 'h', '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'); $tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');