<commit_before><article class="twelve cell details">
	<div class="row">
		<i18n>support.issue.title</i18n>&nbsp;
		<a ng-click="openViewTicketTemplate()">(<i18n>support.issue.display.ticket</i18n>)</a>
	</div>
	<hr/>

	<div class="row">
		<div class="six cell">
			<label class="three cell"><i18n>support.issue.id</i18n></label>
			<span class="nine cell">[[ticket.issue.id]]</span>
		</div>
		<div class="six cell">
			<label class="five cell"><i18n>support.issue.creation.date</i18n></label>
			<span class="seven cell">[[formatDate(ticket.issue.created_on)]]</span>
		</div>
	</div>
	<div class="row">
		<div class="six cell">
			<label class="three cell"><i18n>support.issue.status</i18n></label>
			<span class="nine cell">[[ticket.issue.status.name]]</span>
		</div>
		<div class="six cell">
			<label class="five cell"><i18n>support.issue.modification.date</i18n></label>
			<span class="seven cell">[[formatDate(ticket.issue.updated_on)]]</span>
		</div>
	</div>

	<div class="row">
		<label class="two cell"><i18n>support.issue.priority</i18n></label>
		<span class="ten cell">[[ticket.issue.priority.name]]</span>
	</div>
	<div class="row">
		<label class="two cell"><i18n>support.issue.subject</i18n></label>
		<span class="ten cell">[[ticket.issue.subject]]</span>
	</div>
	<div class="row">
		<label class="two cell"><i18n>support.issue.description</i18n></label>
		<span class="ten cell with-newlines">[[ticket.issue.description]]</span>
	</div>
	
	<div class="ten cell right-magnet" ng-if="ticket.issue.attachments && ticket.issue.attachments.length>0">
		<ul>
			<li class="row" ng-repeat="attachment in ticket.issue.attachments">
				<a ng-if="attachment.document_id !== null" href="/workspace/document/[[attachment.document_id]]">[[attachment.filename]]</a>
				<a ng-if="attachment.gridfs_id !== null" href="/support/gridfs/[[attachment.gridfs_id]]">[[attachment.filename]]</a>
				&nbsp;<em>[[attachment.author.name]] <i18n>support.on</i18n> [[formatDate(attachment.created_on)]]</em>
			</li>
		</ul>
	</div>

	<div ng-if="ticket.issue.showEditForm === true" class="row">
		<label class="two cell"><i18n>support.issue.new.comment</i18n></label>
		<div class="ten cell">
			<textarea ng-model="ticket.issue.newComment"></textarea>
		</div>
		<div ng-if="!ticket.issue.processing">
			<button class="right-magnet" ng-click="updateIssue()" translate content="support.issue.save"></button>
			<button class="right-magnet cancel" ng-click="cancelEditIssue()" translate content="support.issue.cancel"></button>
		</div>
		<button ng-if="ticket.issue.processing === true" class="right-magnet disabled" disabled><i18n>support.issue.processing</i18n></button>
	</div>
				
	<div ng-if="ticket.issue.journals && ticket.issue.journals.length > 0" class="row">
		<div ng-repeat="journal in ticket.issue.journals">
			<article class="comment reduce-block-eight">
				<span>[[journal.user.name]]</span>
				<em><i18n>support.on</i18n> [[formatDate(journal.created_on)]]</em>
				<p class="with-newlines">[[journal.notes]]</p>
			</article>
		</div>
	</div>

</article><commit_msg>#2899 Do not display empty comments for escalated tickets<commit_after><article class="twelve cell details">
	<div class="row">
		<i18n>support.issue.title</i18n>&nbsp;
		<a ng-click="openViewTicketTemplate()">(<i18n>support.issue.display.ticket</i18n>)</a>
	</div>
	<hr/>

	<div class="row">
		<div class="six cell">
			<label class="three cell"><i18n>support.issue.id</i18n></label>
			<span class="nine cell">[[ticket.issue.id]]</span>
		</div>
		<div class="six cell">
			<label class="five cell"><i18n>support.issue.creation.date</i18n></label>
			<span class="seven cell">[[formatDate(ticket.issue.created_on)]]</span>
		</div>
	</div>
	<div class="row">
		<div class="six cell">
			<label class="three cell"><i18n>support.issue.status</i18n></label>
			<span class="nine cell">[[ticket.issue.status.name]]</span>
		</div>
		<div class="six cell">
			<label class="five cell"><i18n>support.issue.modification.date</i18n></label>
			<span class="seven cell">[[formatDate(ticket.issue.updated_on)]]</span>
		</div>
	</div>

	<div class="row">
		<label class="two cell"><i18n>support.issue.priority</i18n></label>
		<span class="ten cell">[[ticket.issue.priority.name]]</span>
	</div>
	<div class="row">
		<label class="two cell"><i18n>support.issue.subject</i18n></label>
		<span class="ten cell">[[ticket.issue.subject]]</span>
	</div>
	<div class="row">
		<label class="two cell"><i18n>support.issue.description</i18n></label>
		<span class="ten cell with-newlines">[[ticket.issue.description]]</span>
	</div>
	
	<div class="ten cell right-magnet" ng-if="ticket.issue.attachments && ticket.issue.attachments.length>0">
		<ul>
			<li class="row" ng-repeat="attachment in ticket.issue.attachments">
				<a ng-if="attachment.document_id !== null" href="/workspace/document/[[attachment.document_id]]">[[attachment.filename]]</a>
				<a ng-if="attachment.gridfs_id !== null" href="/support/gridfs/[[attachment.gridfs_id]]">[[attachment.filename]]</a>
				&nbsp;<em>[[attachment.author.name]] <i18n>support.on</i18n> [[formatDate(attachment.created_on)]]</em>
			</li>
		</ul>
	</div>

	<div ng-if="ticket.issue.showEditForm === true" class="row">
		<label class="two cell"><i18n>support.issue.new.comment</i18n></label>
		<div class="ten cell">
			<textarea ng-model="ticket.issue.newComment"></textarea>
		</div>
		<div ng-if="!ticket.issue.processing">
			<button class="right-magnet" ng-click="updateIssue()" translate content="support.issue.save"></button>
			<button class="right-magnet cancel" ng-click="cancelEditIssue()" translate content="support.issue.cancel"></button>
		</div>
		<button ng-if="ticket.issue.processing === true" class="right-magnet disabled" disabled><i18n>support.issue.processing</i18n></button>
	</div>
				
	<div ng-if="ticket.issue.journals && ticket.issue.journals.length > 0" class="row">
		<div ng-repeat="journal in ticket.issue.journals">
			<article class="comment reduce-block-eight" ng-if="journal.notes && journal.notes.length > 0">
				<span>[[journal.user.name]]</span>
				<em><i18n>support.on</i18n> [[formatDate(journal.created_on)]]</em>
				<p class="with-newlines">[[journal.notes]]</p>
			</article>
		</div>
	</div>

</article>
{'fraction_non_alphanumeric': 0.21649649010848757, 'fraction_numerical': 0.018028079132099552, 'mean_word_length': 5.24402390438247, 'pattern_counts': {'":': 0, '<': 241, '<?xml version=': 0, '>': 246, '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': '4331594', 'n_tokens_mistral': 2484, 'n_tokens_neox': 2202, 'n_words': 342}