mirror of
https://github.com/friendica/friendica
synced 2025-05-04 07:04:10 +02:00
show "view group" in hovercard
but only on group-contacts. rename all *forum to *group in code
This commit is contained in:
parent
e6a4467557
commit
78e9ee651f
4 changed files with 10 additions and 15 deletions
|
@ -1199,6 +1199,7 @@ class Contact
|
|||
|
||||
$contact_url = 'contact/' . $contact['id'];
|
||||
$posts_link = 'contact/' . $contact['id'] . '/conversations';
|
||||
$group_link = 'network/group/' . $contact['id'];
|
||||
|
||||
$follow_link = '';
|
||||
$unfollow_link = '';
|
||||
|
@ -1232,6 +1233,7 @@ class Contact
|
|||
'pm' => [DI::l10n()->t('Send PM'), $pm_url, false],
|
||||
'follow' => [DI::l10n()->t('Connect/Follow'), $follow_link, true],
|
||||
'unfollow' => [DI::l10n()->t('Unfollow'), $unfollow_link, true],
|
||||
'group' => [DI::l10n()->t('View group'), $group_link, $contact['forum'], true],
|
||||
];
|
||||
|
||||
if (!empty($contact['pending'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue