Move self key to $profile tamplate variable in hovercard.tpl template

- Simplify network and mention menu items by checking for group in Model\Contact::photoMenu
This commit is contained in:
Hypolite Petovan 2023-10-02 21:34:49 -04:00
parent 05f2cf9202
commit cf5beafec0
3 changed files with 27 additions and 12 deletions

View file

@ -112,6 +112,7 @@ class Hovercard extends BaseModule
'bd' => $contact['bd'] <= DBA::NULL_DATE ? '' : $contact['bd'],
'account_type' => Contact::getAccountType($contact['contact-type']),
'actions' => $actions,
'self' => $contact['self'],
],
]);