Skip to:
Content

BuddyPress.org

Ticket #7714: 7714.3.patch

File 7714.3.patch, 2.7 KB (added by mercime, 4 years ago)

Refreshed patch

  • src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php

     
    7272</script>
    7373
    7474<script type="text/html" id="tmpl-bp-messages-filters">
    75         <li class="user-messages-bulk-actions"></li>
    7675        <li class="user-messages-search" role="search" data-bp-search="{{data.box}}">
    7776                <div class="bp-search messages-search">
    7877                        <form action="" method="get" id="user_messages_search_form" class="bp-messages-search-form" data-bp-search="messages">
     
    8786                        </form>
    8887                </div>
    8988        </li>
     89        <li class="user-messages-bulk-actions"></li>
    9090</script>
    9191
    9292<script type="text/html" id="tmpl-bp-bulk-actions">
    93         <label for="user_messages_select_all">
    94                 <input type="checkbox" id="user_messages_select_all" value="1"/>
    95                 <span class="bp-screen-reader-text"><?php esc_html_e( 'Select All Messages', 'buddypress' ); ?></span>
    96         </label>
    97 <div class="bulk-actions-wrap bp-hide">
     93        <input type="checkbox" id="user_messages_select_all" value="1"/>
     94        <label for="user_messages_select_all"><?php esc_html_e( 'All Messages', 'buddypress' ); ?></label>
     95        <div class="bulk-actions-wrap bp-hide">
    9896                <div class="bulk-actions select-wrap">
    9997                        <label for="user-messages-bulk-actions" class="bp-screen-reader-text">
    10098                                <?php esc_html_e( 'Select bulk action', 'buddypress' ); ?>
     
    106104                        </select>
    107105                        <span class="select-arrow" aria-hidden="true"></span>
    108106                </div>
    109                 <button class="messages-button bulk-apply" type="submit">
     107                <button class="messages-button bulk-apply bp-tooltip" type="submit" data-bp-tooltip="<?php echo esc_attr( 'Apply', 'buddypress' ); ?>">
    110108                        <span class="dashicons dashicons-yes" aria-hidden="true"></span>
    111109                        <span class="bp-screen-reader-text"><?php esc_html_e( 'Apply', 'buddypress' ); ?></span>
    112110                </button>
     
    115113
    116114<script type="text/html" id="tmpl-bp-messages-thread">
    117115        <div class="thread-cb">
    118                 <label for="bp-message-thread-{{data.id}}">
    119                         <input class="message-check" type="checkbox" name="message_ids[]" id="bp-message-thread-{{data.id}}" value="{{data.id}}">
    120                         <span class="bp-screen-reader-text"><?php esc_html_e( 'Select this message', 'buddypress' ); ?></span>
    121                 </label>
     116                <input class="message-check" type="checkbox" name="message_ids[]" id="bp-message-thread-{{data.id}}" value="{{data.id}}">
     117                <label for="bp-message-thread-{{data.id}}" class="bp-screen-reader-text"><?php esc_html_e( 'Select this message', 'buddypress' ); ?></label>
    122118        </div>
    123119        <div class="thread-from">
    124120                <a class="user-link" href="{{data.sender_link}}">