<?php
/**
 * BP Nouveau - Groups Directory
 *
 * @since 3.0.0
 * @version 6.0.0
 */
?>

	<?php bp_nouveau_before_groups_directory_content(); ?>

	<?php bp_nouveau_template_notices(); ?>

	<?php //if ( ! bp_nouveau_is_object_nav_in_sidebar() ) : ?>

		<?php //bp_get_template_part( 'common/nav/directory-nav' ); ?>

	<?php //endif; ?>

	<div class="screen-content">
		<div class="row layout-wrapper <?php echo get_theme_mod( 'edumodo_buddyPress_group_home_layout', 'no-sidebar' )?>">

			<?php do_action('edumodo_layout_column_start', 'edumodo_buddyPress_group_home_layout'); ?>
			
				<?php bp_get_template_part( 'common/nav/directory-nav' ); ?>
				<?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>

					<div id="groups-dir-list" class="groups dir-list" data-bp-list="groups">
						<div id="bp-ajax-loader"><?php bp_nouveau_user_feedback( 'directory-groups-loading' ); ?></div>
					</div><!-- #groups-dir-list -->

				<?php bp_nouveau_after_groups_directory_content(); ?>

			<?php do_action('edumodo_layout_column_end'); ?>
			<?php do_action('edumodo_layout_sidebar', 'edumodo_buddyPress_group_home_layout', 'buddypress-groups-list-sidebar', 'buddypress-group-home-sidebar-wrapper'); ?>

		</div>

	</div><!-- // .screen-content -->

	<?php //bp_nouveau_after_directory_page(); ?>
