Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2011 07:24:54 AM (14 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-messages/bp-messages-loader.php

    r4676 r4741  
    179179            // Unread message count
    180180            if ( $count = messages_get_unread_count() ) {
    181                 $title = sprintf( __( 'Messages <span>%s</span>', 'buddypress' ), $count );
    182                 $inbox = sprintf( __( 'Inbox <span>%s</span>',    'buddypress' ), $count );
     181                $title = sprintf( __( 'Messages <span class="count">%s</span>', 'buddypress' ), $count );
     182                $inbox = sprintf( __( 'Inbox <span class="count">%s</span>',    'buddypress' ), $count );
    183183            } else {
    184184                $title = __( 'Messages', 'buddypress' );
Note: See TracChangeset for help on using the changeset viewer.