From adbfb35bb79e62301b215d454e5ab00d83de7aa2 Mon Sep 17 00:00:00 2001 From: Sayam Samal Date: Thu, 25 Jul 2024 16:24:04 +0530 Subject: [PATCH] user_card_popover: Display bot's role in bot user card popover. As a follow-up to the previous commit which repositions the bot owner field, this commit adds the bot's role in the format "Bot ({role})" to the previous position of the bot owner field in the bot user card. --- web/templates/popovers/user_card/user_card_popover.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/popovers/user_card/user_card_popover.hbs b/web/templates/popovers/user_card/user_card_popover.hbs index b346308cfb..39d5b1f3ff 100644 --- a/web/templates/popovers/user_card/user_card_popover.hbs +++ b/web/templates/popovers/user_card/user_card_popover.hbs @@ -18,7 +18,7 @@ {{#if is_system_bot}}
{{t "System bot" }}
{{else}} -
{{t "Bot" }}
+
{{t "Bot ({user_type})" }}
{{/if}} {{else}}
{{ user_type }}