<?php
/**
 * BuddyPress - Users Activity
 *
 * @since 3.0.0
 * @version 8.0.0
 *
 * CommunityAlly Phase 1 Change, removed item subnav as it only contains favourites
 * Screen rename from Member Activities to Favourites
 */

/*
<h2 class="bp-screen-title<?php echo ( bp_displayed_user_has_front_template() ) ? ' bp-screen-reader-text' : ''; ?>">
	<?php esc_html_e( 'Member Activities', 'buddypress' ); ?>
</h2>
*/
?>

<div class="communityally-favourites-title">
	<?php echo _x( 'Favorites', 'Profile activity screen sub nav', 'buddypress' ) ?>
</div>

<?php // bp_nouveau_activity_member_post_form(); ?>

<?php // bp_get_template_part( 'common/search-and-filters-bar' ); ?>

<?php bp_nouveau_member_hook( 'before', 'activity_content' ); ?>

<div id="activity-stream" class="activity single-user" data-bp-list="activity">
	<ul class="activity-list item-list bp-list">
	<?php
		$members_content = communityally_activity_template_loader('activity', 'favorites');
		if (!empty($members_content) && !empty($members_content['contents'])) {
			echo $members_content['contents'];
		}
	?>
	</ul>
	<ul class="<?php bp_nouveau_loop_classes(); ?>"></ul>
</div><!-- .activity -->

<?php
bp_nouveau_member_hook( 'after', 'activity_content' );
