You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to distinguish two users with the same name before sharing? (eg. the mail adresses could also be displayed) #512
Hello.
I had the same need. I made the following changes to display the email address in addition to the name. I also display the ID in the "title" html attribute, it is displayed when hovering over the mouse. However, changes must be postponed after each update.
cp -p ___NEXTCLOUD_DIR___/apps/circles/lib/Search/LocalUsers.php ___NEXTCLOUD_DIR___/apps/circles/lib/Search/LocalUsers.php.BACK
vi ___NEXTCLOUD_DIR___/apps/circles/lib/Search/LocalUsers.php
Ligne 75, add :
$value = ($user->getEMailAddress()) ? ($user->getDisplayName() . " (" . $user->getEMailAddress() . ")") : $user->getDisplayName();
Ligne 78, replace by :
$user->getUID(), Member::TYPE_USER, '', ['display' => $value]
cp -p ___NEXTCLOUD_DIR___/apps/circles/css/navigation.css ___NEXTCLOUD_DIR___/apps/circles/css/navigation.css.BACK
vi ___NEXTCLOUD_DIR___/apps/circles/css/navigation.css
Ligne 217, replace by :
height: auto;
cp -p ___NEXTCLOUD_DIR___/apps/circles/js/circles.app.results.members.js ___NEXTCLOUD_DIR___/apps/circles/js/circles.app.results.members.js.BACK
vi ___NEXTCLOUD_DIR___/apps/circles/js/circles.app.results.members.js
Ligne 116, add :
title="' + nav.escapeHtml(value.ident) + '"
Activity
cdisabatino commentedon Jun 29, 2021
Hello.
I had the same need. I made the following changes to display the email address in addition to the name. I also display the ID in the "title" html attribute, it is displayed when hovering over the mouse. However, changes must be postponed after each update.