<commit_before><?php defined('C5_EXECUTE') or die('Access Denied.') ?>
<?= $dashboard->getDashboardPaneHeaderWrapper($dataType->dtName, false, false, false) ?>
<div class="ccm-pane-options">
	<form class="form-horizontal">
		<div class="ccm-pane-options-permanent-search">
			<input placeholder="Name" type="text" class="ccm-input-text" name="name" />
			<?= $interface->submit(t('Search')) ?>
		</div>
	</form>
</div>
<div class="ccm-pane-body">
	<?= $interface->button(t('Create'), $this->url('/dashboard/data/management/create', $dataType->dtID)) ?>
	<div class="clearfix"></div>
	<table class="ccm-results-list">
		<tr class="ccm-results-list-header">
			<th><?= t('Name') ?></th>
		</tr>
	<?php $alt = ''; foreach ($datas as $data) { ?>
		<tr class="ccm-list-record<?= $alt ?>">
			<td><?= $data->name ? $data->name->getValue('display_sanitized') : $data->dID ?><?= $interface->button(t('Edit'), $this->url('/dashboard/data/management/edit', $dataType->dtID, $data->dID)) ?></td>
		</tr>
	<?php $alt = $alt ? '' : ' ccm-list-record-alt'; } ?>
	</table>
	<?php $DataList->displayPagingV2() ?>
</div>
<div class="ccm-pane-footer">
</div>
<?= $dashboard->getDashboardPaneFooterWrapper(false) ?>
<commit_msg>Hide list when no datas<commit_after><?php defined('C5_EXECUTE') or die('Access Denied.') ?>
<?= $dashboard->getDashboardPaneHeaderWrapper($dataType->dtName, false, false, false) ?>
<div class="ccm-pane-options">
	<form class="form-horizontal">
		<div class="ccm-pane-options-permanent-search">
			<input placeholder="Name" type="text" class="ccm-input-text" name="name" />
			<?= $interface->submit(t('Search')) ?>
		</div>
	</form>
</div>
<div class="ccm-pane-body">
	<?= $interface->button(t('Create'), $this->url('/dashboard/data/management/create', $dataType->dtID)) ?>
	<div class="clearfix"></div>
	<?php if ($datas) { ?>
		<table class="ccm-results-list">
			<tr class="ccm-results-list-header">
				<th><?= t('Name') ?></th>
			</tr>
		<?php $alt = ''; foreach ($datas as $data) { ?>
			<tr class="ccm-list-record<?= $alt ?>">
				<td><?= $data->name ? $data->name->getValue('display_sanitized') : $data->dID ?><?= $interface->button(t('Edit'), $this->url('/dashboard/data/management/edit', $dataType->dtID, $data->dID)) ?></td>
			</tr>
		<?php $alt = $alt ? '' : ' ccm-list-record-alt'; } ?>
		</table>
		<?php $DataList->displayPagingV2() ?>
	<?php } ?>
</div>
<div class="ccm-pane-footer">
</div>
<?= $dashboard->getDashboardPaneFooterWrapper(false) ?>

{'fraction_non_alphanumeric': 0.2597979797979798, 'fraction_numerical': 0.0016161616161616162, 'mean_word_length': 5.128712871287129, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '978355', 'n_tokens_mistral': 958, 'n_tokens_neox': 938, 'n_words': 148}