Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user_profile: Add tippy tooltips to edit pencil button.

palashb01db47f675f087
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index 4296272cac8..0d7da2c9c56 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -14,11 +14,11 @@
<span class="user_profile_name">{{full_name}}</span>
{{#if is_me}}
<a href="/#settings/profile">
- <i class="fa fa-edit user_profile_manage_own_edit_button" aria-hidden="true"></i>
+ <i class="fa fa-edit tippy-zulip-tooltip user_profile_manage_own_edit_button" data-tippy-content="{{t 'Edit profile' }}" aria-hidden="true"></i>
</a>
{{/if}}
{{#if can_manage_profile}}
- <i class="fa fa-edit user_profile_manage_others_edit_button" aria-hidden="true"></i>
+ <i class="fa fa-edit tippy-zulip-tooltip user_profile_manage_others_edit_button" data-tippy-content="{{t 'Manage user' }}" aria-hidden="true"></i>
{{/if}}
</h1>
<button class="modal__close" aria-label="{{t 'Close modal' }}" data-micromodal-close></button>