fix: Make group mention clickable

This commit is contained in:
Suraj Shetty 2021-04-15 16:22:17 +05:30
parent 1bfeafca5f
commit 7d335a9bef
3 changed files with 10 additions and 2 deletions

View file

@ -19,7 +19,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2021-04-15 14:24:23.168485",
"modified": "2021-04-15 16:12:31.455401",
"modified_by": "Administrator",
"module": "Core",
"name": "User Group",
@ -36,6 +36,10 @@
"role": "System Manager",
"share": 1,
"write": 1
},
{
"read": 1,
"role": "All"
}
],
"sort_field": "modified",

View file

@ -1290,7 +1290,8 @@ Object.assign(frappe.utils, {
names_for_mentions.push({
id: group,
value: group,
is_group: true
is_group: true,
link: frappe.utils.get_form_link('User Group', group)
});
});

View file

@ -120,6 +120,9 @@
padding: 2px 5px;
font-size: var(--text-sm);
background-color: var(--user-mention-bg-color);
a[href] {
text-decoration: none;
}
}
// table