mirror of
https://github.com/friendica/friendica
synced 2025-04-30 13:04:26 +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
|
@ -68,7 +68,7 @@ class VCard
|
|||
$follow_link = '';
|
||||
$unfollow_link = '';
|
||||
$wallmessage_link = '';
|
||||
$showforum_link = '';
|
||||
$showgroup_link = '';
|
||||
|
||||
$photo = Contact::getPhoto($contact);
|
||||
|
||||
|
@ -102,7 +102,7 @@ class VCard
|
|||
}
|
||||
|
||||
if (in_array($rel, [Contact::SHARING])) {
|
||||
$showforum_link = 'network/group/' . $id;
|
||||
$showgroup_link = 'network/group/' . $id;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,8 +124,8 @@ class VCard
|
|||
'$unfollow_link' => $unfollow_link,
|
||||
'$wallmessage' => DI::l10n()->t('Message'),
|
||||
'$wallmessage_link' => $wallmessage_link,
|
||||
'$showforum' => DI::l10n()->t('Show Forum'),
|
||||
'$showforum_link' => $showforum_link,
|
||||
'$showgroup' => DI::l10n()->t('Show group'),
|
||||
'$showgroup_link' => $showgroup_link,
|
||||
'$mentioning' => DI::l10n()->t('Mention'),
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue