Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2011 07:24:54 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Add class "count" to menu items that have pending notifications. Add styling to admin-bar.css.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-loader.php

    r4676 r4741  
    149149            // Pending friend requests
    150150            if ( $count = count( friends_get_friendship_request_user_ids( $bp->loggedin_user->id ) ) ) {
    151                 $title   = sprintf( __( 'Friends <span>%s</span>',          'buddypress' ), $count );
    152                 $pending = sprintf( __( 'Pending Requests <span>%s</span>', 'buddypress' ), $count );
     151                $title   = sprintf( __( 'Friends <span class="count">%s</span>',          'buddypress' ), $count );
     152                $pending = sprintf( __( 'Pending Requests <span class="count">%s</span>', 'buddypress' ), $count );
    153153            } else {
    154154                $title   = __( 'Friends',             'buddypress' );
Note: See TracChangeset for help on using the changeset viewer.