settings: Link to user card in new stream/group tables.

When creating new streams or groups, open up user card when
a user's name is clicked on. This behavior now matches
other settings tables elsewhere.

Fixes #25725.
This commit is contained in:
Josh Yap 2023-05-25 15:37:50 +08:00 committed by Tim Abbott
parent a55c1ab2da
commit 6b77499286
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<tr>
<td>
{{full_name}}{{#if is_current_user}} <span class="my_user_status">{{t "(you)"}}</span>{{/if}}
<a data-user-id="{{user_id}}" class="view_user_profile" tabindex="0">{{full_name}}</a>
{{#if is_current_user}} <span class="my_user_status">{{t "(you)"}}</span>{{/if}}
</td>
{{#if email}}
<td class="subscriber-email">{{email}}</td>