improve button-icon for groups in hovercard

This commit is contained in:
Jakobus Schürz 2023-10-03 09:00:11 +02:00
parent f95f846ef8
commit b42373d834
4 changed files with 36 additions and 40 deletions

View file

@ -1239,9 +1239,7 @@ class Contact
'edit' => [DI::l10n()->t('View Contact'), $contact_url, false],
'follow' => [DI::l10n()->t('Connect/Follow'), $follow_link, true],
'unfollow' => [DI::l10n()->t('Unfollow'), $unfollow_link, true],
'mention' => [DI::l10n()->t('Mention'), DI::l10n()->t('Post to group'), $mention_url, false],
'group' => [DI::l10n()->t('View group'), $group_link, $contact['forum'], true],
'self' => [$contact['self'] ?? false, true],
'mention' => [$mention_label, $mention_url, false],
];
} else {
$menu = [