summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authoronehappycat <onehappycat@gmx.com>2019-12-14 14:29:12 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-12-19 16:26:27 +0100
commitdab4c182a15a0ac590f8c1688f9751c04054ed97 (patch)
tree36db08e3b590f3411a525f195cc9a9cc143c60d4 /apps/settings/src
parentaa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7 (diff)
downloadnextcloud-server-dab4c182a15a0ac590f8c1688f9751c04054ed97.tar.gz
nextcloud-server-dab4c182a15a0ac590f8c1688f9751c04054ed97.zip
Add tooltips to display name and email fields in Users
Signed-off-by: onehappycat <onehappycat@gmx.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/UserList/UserRowSimple.vue14
1 files changed, 11 insertions, 3 deletions
diff --git a/apps/settings/src/components/UserList/UserRowSimple.vue b/apps/settings/src/components/UserList/UserRowSimple.vue
index 008fcc557f3..758047affad 100644
--- a/apps/settings/src/components/UserList/UserRowSimple.vue
+++ b/apps/settings/src/components/UserList/UserRowSimple.vue
@@ -15,12 +15,16 @@
<div class="name">
{{ user.id }}
<div class="displayName subtitle">
- {{ user.displayname }}
+ <div v-tooltip="user.displayname.length > 20 ? user.displayname : ''" class="cellText">
+ {{ user.displayname }}
+ </div>
</div>
</div>
<div />
<div class="mailAddress">
- {{ user.email }}
+ <div v-tooltip="user.email !== null && user.email.length > 20 ? user.email : ''" class="cellText">
+ {{ user.email }}
+ </div>
</div>
<div class="groups">
{{ userGroupsLabels }}
@@ -155,5 +159,9 @@ export default {
</script>
<style scoped>
-
+ .cellText {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
</style>