Changeset 12074
- Timestamp:
- 05/10/2018 06:57:38 AM (7 years ago)
- Location:
- trunk/src/bp-templates/bp-nouveau
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php
r12065 r12074 96 96 97 97 <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=""/> 100 100 </a> 101 101 </script> -
trunk/src/bp-templates/bp-nouveau/common-styles/_bp_tooltips.scss
r12041 r12074 101 101 @include bp-tooltip-bottom-right; 102 102 } 103 104 .bp-invites-content #send-invites-editor .bp-tooltip { 105 106 // override .bp-invites-content .bp-tooltip 107 &:after { 108 left: 0; 109 right: auto; 110 } 111 } -
trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css
r12073 r12074 2585 2585 } 2586 2586 2587 .buddypress .bp-invites-content #send-invites-editor { 2588 overflow: hidden; 2587 .buddypress .bp-invites-content #send-invites-editor ul:before, 2588 .buddypress .bp-invites-content #send-invites-editor ul:after { 2589 content: " "; 2590 display: table; 2591 } 2592 2593 .buddypress .bp-invites-content #send-invites-editor ul:after { 2594 clear: both; 2589 2595 } 2590 2596 … … 2597 2603 list-style: none; 2598 2604 margin: 10px 0; 2599 overflow: hidden;2600 2605 } 2601 2606 … … 2605 2610 max-height: 50px; 2606 2611 max-width: 50px; 2612 } 2613 2614 .buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form { 2615 clear: both; 2616 margin-top: 10px; 2607 2617 } 2608 2618 … … 4773 4783 } 4774 4784 4785 .bp-invites-content #send-invites-editor .bp-tooltip:after { 4786 right: 0; 4787 left: auto; 4788 } 4789 4775 4790 /** 4776 4791 *------------------------------------------------------------------------------- -
trunk/src/bp-templates/bp-nouveau/css/buddypress.css
r12073 r12074 2585 2585 } 2586 2586 2587 .buddypress .bp-invites-content #send-invites-editor { 2588 overflow: hidden; 2587 .buddypress .bp-invites-content #send-invites-editor ul:before, 2588 .buddypress .bp-invites-content #send-invites-editor ul:after { 2589 content: " "; 2590 display: table; 2591 } 2592 2593 .buddypress .bp-invites-content #send-invites-editor ul:after { 2594 clear: both; 2589 2595 } 2590 2596 … … 2597 2603 list-style: none; 2598 2604 margin: 10px 0; 2599 overflow: hidden;2600 2605 } 2601 2606 … … 2605 2610 max-height: 50px; 2606 2611 max-width: 50px; 2612 } 2613 2614 .buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form { 2615 clear: both; 2616 margin-top: 10px; 2607 2617 } 2608 2618 … … 4773 4783 } 4774 4784 4785 .bp-invites-content #send-invites-editor .bp-tooltip:after { 4786 left: 0; 4787 right: auto; 4788 } 4789 4775 4790 /** 4776 4791 *------------------------------------------------------------------------------- -
trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php
r12060 r12074 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' => __( 'Disinvite %s', '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(), -
trunk/src/bp-templates/bp-nouveau/js/buddypress-group-invites.js
r12060 r12074 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 }, -
trunk/src/bp-templates/bp-nouveau/sass/_nouveau_invites.scss
r12064 r12074 78 78 } // close li 79 79 80 @include clearfix-element("#send-invites-editor ul"); 81 80 82 #send-invites-editor { 81 overflow: hidden;82 83 83 84 textarea { … … 89 90 list-style: none; 90 91 margin: $marg-sml 0; 91 overflow: hidden;92 92 93 93 li { … … 98 98 } 99 99 } // ul 100 101 #bp-send-invites-form { 102 clear: both; 103 margin-top: $marg-sml; 104 } 100 105 101 106 .action {
Note: See TracChangeset
for help on using the changeset viewer.