<commit_before>
<p><?php echo $this->translate('distribution-profiles intro text'); ?></p>

<?php echo $this->form; ?>
<?php echo $this->newForm; ?>
<div id="results" class="clear">
	<h2>Results <span>(<?php echo $this->paginator->getItemsCount(); ?> distribution profiles)</span></h2>
	<table class="clear">
		<thead>
			<tr>
				<th><?php echo $this->translate('Status'); ?></th>
				<th><?php echo $this->translate('ID'); ?></th>
				<th><?php echo $this->translate('Publisher ID'); ?></th>
				<th><?php echo $this->translate('Provider'); ?></th>
				<th><?php echo $this->translate('Name'); ?></th>
				<th><?php echo $this->translate('Creation Date'); ?></th>
				<th><?php echo $this->translate('Action'); ?></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="16"><?php echo $this->paginator; ?></td>
			</tr>
		</tfoot>
		<tbody>
			<?php foreach($this->paginator as /* KalturaDistributionProfile */ $profile): ?>
			<tr class="<?php echo $this->cycle(array('odd', 'even'))->next(); ?>">
				<td><?php echo $this->enumTranslate('Kaltura_Client_ContentDistribution_Enum_DistributionProfileStatus', $profile->status); ?></td>
				<td><?php echo $profile->id; ?></td>
				<td><?php echo $profile->partnerId; ?></td>
				<td><?php echo ($profile->providerType == Kaltura_Client_ContentDistribution_Enum_DistributionProviderType::GENERIC ? 'Generic ' . (isset($this->genericProviders[$profile->genericProviderId]) ? '(' . $this->genericProviders[$profile->genericProviderId] . ')' : '') : $this->providers[$profile->providerType]); ?></td>
				<td><?php echo $profile->name; ?></td>
				<td><?php $d = (new Zend_Date($profile->createdAt)); echo $d->toString(Zend_Date::DATE_LONG); ?></td>
				<td>
					<select class="options" onchange="doAction(this.value, <?php echo $profile->id; ?>)">
						<option value=""><?php echo $this->translate('Select Action'); ?></option>
						<option value="configure"><?php echo $this->translate('Configure'); ?></option>
						<?php if($profile->status == Kaltura_Client_ContentDistribution_Enum_DistributionProfileStatus::ENABLED): ?>
							<option value="disableProfile"><?php echo $this->translate('Disable'); ?></option>
						<?php else: ?>
							<option value="enableProfile"><?php echo $this->translate('Enable'); ?></option>
						<?php endif; ?>
						<option value="remove"><?php echo $this->translate('Remove'); ?></option>
					</select>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>
<commit_msg>SUP-523 #comment Added updated at field to the distribution Connectors list admin page<commit_after>
<p><?php echo $this->translate('distribution-profiles intro text'); ?></p>

<?php echo $this->form; ?>
<?php echo $this->newForm; ?>
<div id="results" class="clear">
	<h2>Results <span>(<?php echo $this->paginator->getItemsCount(); ?> distribution profiles)</span></h2>
	<table class="clear">
		<thead>
			<tr>
				<th><?php echo $this->translate('Status'); ?></th>
				<th><?php echo $this->translate('ID'); ?></th>
				<th><?php echo $this->translate('Publisher ID'); ?></th>
				<th><?php echo $this->translate('Provider'); ?></th>
				<th><?php echo $this->translate('Name'); ?></th>
				<th><?php echo $this->translate('Creation Date'); ?></th>
				<th><?php echo $this->translate('Updated At'); ?></th>
				<th><?php echo $this->translate('Action'); ?></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="16"><?php echo $this->paginator; ?></td>
			</tr>
		</tfoot>
		<tbody>
			<?php foreach($this->paginator as /* KalturaDistributionProfile */ $profile): ?>
			<tr class="<?php echo $this->cycle(array('odd', 'even'))->next(); ?>">
				<td><?php echo $this->enumTranslate('Kaltura_Client_ContentDistribution_Enum_DistributionProfileStatus', $profile->status); ?></td>
				<td><?php echo $profile->id; ?></td>
				<td><?php echo $profile->partnerId; ?></td>
				<td><?php echo ($profile->providerType == Kaltura_Client_ContentDistribution_Enum_DistributionProviderType::GENERIC ? 'Generic ' . (isset($this->genericProviders[$profile->genericProviderId]) ? '(' . $this->genericProviders[$profile->genericProviderId] . ')' : '') : $this->providers[$profile->providerType]); ?></td>
				<td><?php echo $profile->name; ?></td>
				<td><?php $d = (new Zend_Date($profile->createdAt)); echo $d->toString(Zend_Date::DATE_LONG); ?></td>
				<td><?php $du = (new Zend_Date($profile->updatedAt)); echo $du->toString(Zend_Date::DATE_LONG); ?></td>
				<td>
					<select class="options" onchange="doAction(this.value, <?php echo $profile->id; ?>)">
						<option value=""><?php echo $this->translate('Select Action'); ?></option>
						<option value="configure"><?php echo $this->translate('Configure'); ?></option>
						<?php if($profile->status == Kaltura_Client_ContentDistribution_Enum_DistributionProfileStatus::ENABLED): ?>
							<option value="disableProfile"><?php echo $this->translate('Disable'); ?></option>
						<?php else: ?>
							<option value="enableProfile"><?php echo $this->translate('Enable'); ?></option>
						<?php endif; ?>
						<option value="remove"><?php echo $this->translate('Remove'); ?></option>
					</select>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>

{'fraction_non_alphanumeric': 0.2363566487317448, 'fraction_numerical': 0.002113758647194466, 'mean_word_length': 4.848314606741573, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 274, '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': '5632835', 'n_tokens_mistral': 1879, 'n_tokens_neox': 1687, 'n_words': 342}