diff --git src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php
index 62d627e68..b0fd523d0 100644
|
|
|
95 | 95 | </script> |
96 | 96 | |
97 | 97 | <script type="text/html" id="tmpl-bp-invites-selection"> |
98 | | <a href="#uninvite-user-{{data.id}}" title="{{data.name}}"> |
| 98 | <a href="#uninvite-user-{{data.id}}" class="bp-tooltip" data-bp-tooltip="{{data.uninviteTooltip}}"> |
99 | 99 | <img src="{{data.avatar}}" class="avatar" alt="{{data.name}}"/> |
100 | 100 | </a> |
101 | 101 | </script> |
diff --git src/bp-templates/bp-nouveau/css/buddypress-rtl.css src/bp-templates/bp-nouveau/css/buddypress-rtl.css
index 74646f88a..813dc7067 100644
|
|
body.no-js .single-item-header .js-self-profile-button { |
2584 | 2584 | } |
2585 | 2585 | |
2586 | 2586 | .buddypress .bp-invites-content #send-invites-editor { |
2587 | | overflow: hidden; |
| 2587 | display: table; |
2588 | 2588 | } |
2589 | 2589 | |
2590 | 2590 | .buddypress .bp-invites-content #send-invites-editor textarea { |
… |
… |
body.no-js .single-item-header .js-self-profile-button { |
2595 | 2595 | clear: both; |
2596 | 2596 | list-style: none; |
2597 | 2597 | margin: 10px 0; |
2598 | | overflow: hidden; |
| 2598 | display: table; |
2599 | 2599 | } |
2600 | 2600 | |
2601 | 2601 | .buddypress .bp-invites-content #send-invites-editor ul li { |
diff --git src/bp-templates/bp-nouveau/css/buddypress.css src/bp-templates/bp-nouveau/css/buddypress.css
index a98a5ad8c..6b7f789cb 100644
|
|
body.no-js .single-item-header .js-self-profile-button { |
2584 | 2584 | } |
2585 | 2585 | |
2586 | 2586 | .buddypress .bp-invites-content #send-invites-editor { |
2587 | | overflow: hidden; |
| 2587 | display: table; |
2588 | 2588 | } |
2589 | 2589 | |
2590 | 2590 | .buddypress .bp-invites-content #send-invites-editor textarea { |
… |
… |
body.no-js .single-item-header .js-self-profile-button { |
2595 | 2595 | clear: both; |
2596 | 2596 | list-style: none; |
2597 | 2597 | margin: 10px 0; |
2598 | | overflow: hidden; |
| 2598 | display: table; |
2599 | 2599 | } |
2600 | 2600 | |
2601 | 2601 | .buddypress .bp-invites-content #send-invites-editor ul li { |
diff --git src/bp-templates/bp-nouveau/includes/groups/functions.php src/bp-templates/bp-nouveau/includes/groups/functions.php
index 892302bf7..5387cb498 100644
|
|
function bp_nouveau_groups_localize_scripts( $params = array() ) { |
150 | 150 | 'invites_form' => __( 'Use the "Send" button to send your invite or the "Cancel" button to abort.', 'buddypress' ), |
151 | 151 | 'invites_form_reset' => __( 'Invites cleared. Please use one of the available tabs to select members to invite.', 'buddypress' ), |
152 | 152 | 'invites_sending' => __( 'Sending the invites. Please wait.', 'buddypress' ), |
| 153 | 'removeUserInvite' => __( 'Remove %s from the invites', 'buddypress' ), |
153 | 154 | 'group_id' => ! bp_get_current_group_id() ? bp_get_new_group_id() : bp_get_current_group_id(), |
154 | 155 | 'is_group_create' => bp_is_group_create(), |
155 | 156 | 'nonces' => array( |
diff --git src/bp-templates/bp-nouveau/js/buddypress-group-invites.js src/bp-templates/bp-nouveau/js/buddypress-group-invites.js
index 26fc32f83..711b1c60d 100644
|
|
window.bp = window.bp || {}; |
803 | 803 | |
804 | 804 | initialize: function() { |
805 | 805 | this.model.on( 'change:selected', this.removeView, this ); |
| 806 | |
| 807 | // Build the BP Tooltip. |
| 808 | if ( ! this.model.get( 'uninviteTooltip' ) ) { |
| 809 | this.model.set( 'uninviteTooltip', |
| 810 | BP_Nouveau.group_invites.removeUserInvite.replace( '%s', this.model.get( 'name' ) ), |
| 811 | { silent: true } |
| 812 | ); |
| 813 | } |
| 814 | |
806 | 815 | this.el.id = 'uninvite-user-' + this.model.get( 'id' ); |
807 | 816 | }, |
808 | 817 | |
diff --git src/bp-templates/bp-nouveau/sass/_nouveau_invites.scss src/bp-templates/bp-nouveau/sass/_nouveau_invites.scss
index f6a16904b..5007d22b4 100644
|
|
|
78 | 78 | } // close li |
79 | 79 | |
80 | 80 | #send-invites-editor { |
81 | | overflow: hidden; |
| 81 | display: table; |
82 | 82 | |
83 | 83 | textarea { |
84 | 84 | width: 100%; |
… |
… |
|
88 | 88 | clear: both; |
89 | 89 | list-style: none; |
90 | 90 | margin: $marg-sml 0; |
91 | | overflow: hidden; |
| 91 | display: table; |
92 | 92 | |
93 | 93 | li { |
94 | 94 | float: left; |