Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/10/2018 06:57:38 AM (19 months ago)
Author:
imath
Message:

BP Nouveau - Group Invites UI: add meaningful tooltips to invites list

The invites screen contains a list of the avatar of the user to invites. When hovering on one of the avatars a BP Tooltip is now informing that clicking on one of the avatar removes the corresponding user from the invites list.

Props mercime

See #7794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php

    r12065 r12074  
    9696
    9797<script type="text/html" id="tmpl-bp-invites-selection">
    98     <a href="#uninvite-user-{{data.id}}" title="{{data.name}}">
    99         <img src="{{data.avatar}}" class="avatar" alt="{{data.name}}"/>
     98    <a href="#uninvite-user-{{data.id}}" class="bp-tooltip" data-bp-tooltip="{{data.uninviteTooltip}}" aria-label="{{data.uninviteTooltip}}">
     99        <img src="{{data.avatar}}" class="avatar" alt=""/>
    100100    </a>
    101101</script>
Note: See TracChangeset for help on using the changeset viewer.