Added tooltip

This commit is contained in:
Igor Zhukov 2016-06-13 15:23:25 +03:00
parent e6f1115c6c
commit 5cf067a05f
2 changed files with 2 additions and 1 deletions

View File

@ -275,6 +275,7 @@
"conversations_modal_select_recipients": "Select recipients",
"conversations_modal_recipients": "Recipients:",
"conversations_modal_share_url_loading": "Loading{dots}",
"conversations_modal_share_url_copy": "Click to copy share link",
"contact_edit_modal_first_name": "First name",
"contact_edit_modal_last_name": "Last name",

View File

@ -78,7 +78,7 @@
<span ng-switch-when="url_loading" class="peer_select_modal_recipients_empty" my-i18n="conversations_modal_share_url_loading">
<my-i18n-param name="dots"><span my-loading-dots></span></my-i18n-param>
</span>
<a ng-switch-when="url" class="peer_select_modal_share_link" my-copy-element ng-bind="shareLink.url | shortUrl" data-clipboard-text="{{shareLink.url}}"></a>
<a ng-switch-when="url" class="peer_select_modal_share_link" my-copy-element ng-bind="shareLink.url | shortUrl" data-clipboard-text="{{shareLink.url}}" tooltip="{{'conversations_modal_share_url_copy' | i18n}}"></a>
<span ng-switch-default class="peer_select_modal_recipients_empty" my-i18n="conversations_modal_select_recipients"></span>
</span>
<span ng-switch-default>