<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
// Add WP Table Class.
require_once COMMENTING_BLOCK_DIR . 'admin/classes/class-commenting-block-settings-table.php';
$multicollab_dashboard_list_table = new Multicollab_List_Table();
?>
	<div class="cf-dashboard-panel">
		<?php
		// Only show table navigation if there's data available
		if ( is_array( $this->cf_activities ) ) {
		?>
		<div class="tablenav clear top">
			<?php
				$multicollab_dashboard_list_table->extra_tablenav( 'top' );
			?>
		</div>
		<?php
		}
		?>
		<div class="cf-dashboard-panel__board-main cf-list-view">
			<?php
			// Only show table navigation if there's data available
			if ( is_array( $this->cf_activities ) ) {
			?>
			<h3 class="cf-dashboard-panel__board-title"><?php esc_html_e( 'Latest Activity', 'commenting-feature' ); ?></h3>
			<?php } ?>
			<?php
			// Website Activities.
			require_once COMMENTING_BLOCK_DIR . 'admin/partials/commenting-block-website-activity.php';
			?>
		</div>
		<div class="cf-dashboard-panel__board-main cf-detail-view" style="display:none;">
			<div id="board-item-detail"></div>
		</div>
	</div>
