mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
user profile popover: Rename user last seen.
Rename "Last seen just now" to "Just now", and "Unknown" to "More than 2 weeks ago" in user profile popover.
This commit is contained in:
committed by
Tim Abbott
parent
150ea61271
commit
6622f995b0
@@ -93,7 +93,7 @@ function user_last_seen_time_status(user_id) {
|
||||
// We give the somewhat vague status of "Unknown" for these users.
|
||||
var last_active_date = presence.last_active_date(user_id);
|
||||
if (last_active_date === undefined) {
|
||||
return i18n.t("Unknown");
|
||||
return i18n.t("More than 2 weeks ago");
|
||||
}
|
||||
return timerender.last_seen_status_from_date(last_active_date.clone());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user