Browse Source

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.
tags/2019.01
Tobias Diekershoff 2 years ago
parent
commit
6be831fd32
2 changed files with 9 additions and 0 deletions
  1. +1
    -0
      doc/Accesskeys.md
  2. +8
    -0
      src/Module/Contact.php

+ 1
- 0
doc/Accesskeys.md 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)
-------------------------------


+ 8
- 0
src/Module/Contact.php 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');


Loading…
Cancel
Save