Browse Source

Added tooltip

master
Igor Zhukov 9 years ago
parent
commit
5cf067a05f
  1. 1
      app/js/locales/en-us.json
  2. 2
      app/partials/desktop/peer_select.html

1
app/js/locales/en-us.json

@ -275,6 +275,7 @@
"conversations_modal_select_recipients": "Select recipients", "conversations_modal_select_recipients": "Select recipients",
"conversations_modal_recipients": "Recipients:", "conversations_modal_recipients": "Recipients:",
"conversations_modal_share_url_loading": "Loading{dots}", "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_first_name": "First name",
"contact_edit_modal_last_name": "Last name", "contact_edit_modal_last_name": "Last name",

2
app/partials/desktop/peer_select.html

@ -78,7 +78,7 @@
<span ng-switch-when="url_loading" class="peer_select_modal_recipients_empty" my-i18n="conversations_modal_share_url_loading"> <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> <my-i18n-param name="dots"><span my-loading-dots></span></my-i18n-param>
</span> </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 ng-switch-default class="peer_select_modal_recipients_empty" my-i18n="conversations_modal_select_recipients"></span>
</span> </span>
<span ng-switch-default> <span ng-switch-default>

Loading…
Cancel
Save