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.
This commit is contained in:
Sayam Samal
2024-07-25 16:24:04 +05:30
committed by Tim Abbott
parent 5590c704ca
commit adbfb35bb7

View File

@@ -18,7 +18,7 @@
{{#if is_system_bot}} {{#if is_system_bot}}
<div>{{t "System bot" }}</div> <div>{{t "System bot" }}</div>
{{else}} {{else}}
<div>{{t "Bot" }}</div> <div>{{t "Bot ({user_type})" }}</div>
{{/if}} {{/if}}
{{else}} {{else}}
<div>{{ user_type }}</div> <div>{{ user_type }}</div>