Skip to:
Content

BuddyPress.org

Changeset 9708


Ignore:
Timestamp:
04/06/2015 09:16:43 PM (12 years ago)
Author:
boonebgorges
Message:

Add improved CSS classes to notification table elements.

Props hnla.
Fixes #6289.

Location:
trunk/src/bp-templates/bp-legacy/buddypress/members/single
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    r9604 r9708  
    2525                        <thead>
    2626                                <tr>
    27                                         <th scope="col" class="thread-checkbox"><label class="bp-screen-reader-text" for="select-all-messages"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-messages" type="checkbox"></th>
     27                                        <th scope="col" class="thread-checkbox bulk-select-all"><label class="bp-screen-reader-text" for="select-all-messages"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-messages" type="checkbox"></th>
    2828                                        <th scope="col" class="thread-from"><?php _e( 'From', 'buddypress' ); ?></th>
    2929                                        <th scope="col" class="thread-info"><?php _e( 'Subject', 'buddypress' ); ?></th>
    … …  
    3737
    3838                                        <tr id="m-<?php bp_message_thread_id(); ?>" class="<?php bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?> unread<?php else: ?> read<?php endif; ?>">
    39                                                 <td>
     39                                                <td class="bulk-select-check">
    4040                                                        <input type="checkbox" name="message_ids[]" class="message-check" value="<?php bp_message_thread_id(); ?>" />
    4141                                                </td>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php

    r9143 r9708  
    44                        <tr>
    55                                <th class="icon"></th>
    6                                 <th><label class="bp-screen-reader-text" for="select-all-notifications"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-notifications" type="checkbox"></th>
     6                                <th class="bulk-select-all"><label class="bp-screen-reader-text" for="select-all-notifications"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-notifications" type="checkbox"></th>
    77                                <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th>
    88                                <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th>
    … …  
    1717                                <tr>
    1818                                        <td></td>
    19                                         <td><input id="<?php bp_the_notification_id(); ?>" type="checkbox" name="notifications[]" value="<?php bp_the_notification_id(); ?>" class="notification-check"></td>
    20                                         <td><?php bp_the_notification_description();  ?></td>
    21                                         <td><?php bp_the_notification_time_since();   ?></td>
    22                                         <td><?php bp_the_notification_action_links(); ?></td>
     19                                        <td class="bulk-select-check"><input id="<?php bp_the_notification_id(); ?>" type="checkbox" name="notifications[]" value="<?php bp_the_notification_id(); ?>" class="notification-check"></td>
     20                                        <td class="notification-description"><?php bp_the_notification_description();  ?></td>
     21                                        <td class="notification-since"><?php bp_the_notification_time_since();   ?></td>
     22                                        <td class="notification-actions"><?php bp_the_notification_action_links(); ?></td>
    2323                                </tr>
    2424
Note: See TracChangeset for help on using the changeset viewer.