diff --git a/static/js/settings_users.js b/static/js/settings_users.js index cbd10244bc..a2fa27fee5 100644 --- a/static/js/settings_users.js +++ b/static/js/settings_users.js @@ -169,8 +169,11 @@ function populate_users(realm_people_data) { activity_rendered = $("").text(i18n.t("Unknown")); } - var $row = $(templates.render("admin_user_list", {user: item, can_modify: page_params.is_admin})); - + var $row = $(templates.render("admin_user_list", { + user: item, + can_modify: page_params.is_admin, + is_current_user: people.is_my_user_id(item.user_id), + })); $row.find(".last_active").append(activity_rendered); return $row; diff --git a/static/templates/admin_user_list.handlebars b/static/templates/admin_user_list.handlebars index 8d91e0afa1..74010298ea 100644 --- a/static/templates/admin_user_list.handlebars +++ b/static/templates/admin_user_list.handlebars @@ -34,7 +34,7 @@