Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user-profile: Use "Account imported" label for imported stub users.

Sahil Batrac9ca590954fd
diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts
index f6cee6095e1..55e4eb8c0f5 100644
--- a/web/src/user_profile.ts
+++ b/web/src/user_profile.ts
@@ -731,6 +731,7 @@ export function show_user_profile(user: User, default_tab_key = "profile-tab"):
user_is_guest: user.is_guest,
user_time: people.get_user_time(user.user_id),
user_type: people.get_user_type(user.user_id),
+ is_imported_stub: user.is_imported_stub,
};
if (user.is_bot) {
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index 132e4060051..36b3aa8f2f9 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -74,6 +74,8 @@
<div class="name">
{{#if is_bot}}
{{t "Created"}}
+ {{else if is_imported_stub}}
+ {{t "Account imported"}}
{{else}}
{{t "Joined"}}
{{/if}}