Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/15/2018 10:09:34 AM (6 years ago)
Author:
hnla
Message:

Nouveau: Update groups single activity template markup

Commit updates the template to remove the hardcoded UL construct & moves the data attr & tokens to the parent div element.

This brings template in line with recent changes on main act loop & members act loop to adjust stream element injection.

Props mercime

Fixes #7749

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/activity.php

    r11975 r11976  
    1111
    1212
    13     <div class="subnav-filters filters clearfix">
     13<div class="subnav-filters filters clearfix">
    1414
    15         <ul>
    16             <li class="feed"><a href="<?php bp_group_activity_feed_link(); ?>" class="bp-tooltip no-ajax" data-bp-tooltip="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><span class="bp-screen-reader-text"><?php _e( 'RSS', 'buddypress' ); ?></span></a></li>
     15    <ul>
    1716
    18             <li class="group-act-search"><?php bp_nouveau_search_form(); ?></li>
    19         </ul>
     17        <li class="feed"><a href="<?php bp_group_activity_feed_link(); ?>" class="bp-tooltip no-ajax" data-bp-tooltip="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><span class="bp-screen-reader-text"><?php _e( 'RSS', 'buddypress' ); ?></span></a></li>
     18
     19        <li class="group-act-search"><?php bp_nouveau_search_form(); ?></li>
     20
     21    </ul>
    2022
    2123        <?php bp_get_template_part( 'common/filters/groups-screens-filters' ); ?>
    22     </div><!-- // .subnav-filters -->
     24</div><!-- // .subnav-filters -->
    2325
    2426
    2527<?php bp_nouveau_group_hook( 'before', 'activity_content' ); ?>
    2628
    27 <div class="activity single-group">
    28 
    29     <ul id="activity-stream" class="activity-list item-list bp-list" data-bp-list="activity">
     29<div id="activity-stream" class="activity single-group" data-bp-list="activity">
    3030
    3131        <li id="bp-activity-ajax-loader"><?php bp_nouveau_user_feedback( 'group-activity-loading' ); ?></li>
    32 
    33     </ul>
    3432
    3533</div><!-- .activity -->
Note: See TracChangeset for help on using the changeset viewer.