Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/29/2021 07:53:28 PM (4 years ago)
Author:
imath
Message:

Improve BP Nouveau Group Invites UI feedback message content & style

  • Create a more accurate message when no friends matched a search although the users do have friends.
  • Use the Ajax response specific type if set to display the right feedback style.

Props comminski

Fixes #8577

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/groups/ajax.php

    r12715 r13115  
    334334                    'type'     => 'info',
    335335                );
     336            } else {
     337                $error = array(
     338                    'feedback' => __( 'No friends were found. Try another filter.', 'buddypress' ),
     339                    'type'     => 'info',
     340                );
    336341            }
    337342        }
Note: See TracChangeset for help on using the changeset viewer.