mirror of https://github.com/zulip/zulip.git
user status: Change Active now to Online now in full user profile.
Change "Active now" to "Online now" in Last seen field of full user profile.
This commit is contained in:
parent
e90ed827bb
commit
ead9598fbe
|
@ -199,7 +199,7 @@ run_test('level', () => {
|
|||
|
||||
run_test('user_last_seen_time_status', () => {
|
||||
assert.equal(buddy_data.user_last_seen_time_status(selma.user_id),
|
||||
'translated: Active now');
|
||||
'translated: Online now');
|
||||
|
||||
page_params.realm_is_zephyr_mirror_realm = true;
|
||||
assert.equal(buddy_data.user_last_seen_time_status(old_user.user_id),
|
||||
|
|
|
@ -153,7 +153,7 @@ exports.my_user_status = function (user_id) {
|
|||
exports.user_last_seen_time_status = function (user_id) {
|
||||
var status = presence.get_status(user_id);
|
||||
if (status === "active") {
|
||||
return i18n.t("Active now");
|
||||
return i18n.t("Online now");
|
||||
}
|
||||
|
||||
if (page_params.realm_is_zephyr_mirror_realm) {
|
||||
|
|
Loading…
Reference in New Issue