mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
popovers: Add data-user-id in user profile modal.
This commit is contained in:
parent
8070f5e1e2
commit
14f46a831d
@ -131,6 +131,7 @@ export function show_user_profile(user) {
|
||||
const user_streams = stream_data.get_subscribed_streams_for_user(user.user_id);
|
||||
const groups_of_user = user_groups.get_user_groups_of_user(user.user_id);
|
||||
const args = {
|
||||
user_id: user.user_id,
|
||||
full_name: user.full_name,
|
||||
email: people.get_visible_email(user),
|
||||
profile_data,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div id="user-profile-modal" class="modal new-style modal-bg fade{{#unless profile_data.length}} no-fields{{/unless}}"
|
||||
tabindex="-1" role="dialog" aria-labelledby="user_profile_modal label" aria-hidden="true">
|
||||
tabindex="-1" role="dialog" aria-labelledby="user_profile_modal label" aria-hidden="true" data-user-id="{{user_id}}">
|
||||
<div class="modal-body" id="body" data-simplebar data-simplebar-auto-hide="false">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}">
|
||||
<span aria-hidden="true" id="exit-sign">×</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user