Skip to content
Snippets Groups Projects
Unverified Commit dab4c182 authored by onehappycat's avatar onehappycat Committed by John Molakvoæ (skjnldsv)
Browse files

Add tooltips to display name and email fields in Users


Signed-off-by: default avataronehappycat <onehappycat@gmx.com>
parent aa46fc26
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment