<commit_before><%@ include file="../taglibs.jsp" %>
<script>
new Element.hide('broadcastWait');
new Element.hide('broadcastResponseCheckWait');
</script>
<div style="padding-top: 5px" align="left">
<c:choose>
	<c:when test="${command.studySubject.cctsWorkflowStatus=='MESSAGE_SEND'}">
     	<div style="font-size: 10pt; padding-top: 10px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px">
			<fmt:message key="REGISTRATION.BROADCAST.SENT_NO_RESPONSE"/>
		</div>
		<div align="center" style="padding-top: 20px">
			<tags:button type="button "color="blue" value="Check response" onclick="javascript:getBroadcastStatus();"/>
			<tags:button type="button" color="red" icon="x" value="Later" onclick="window.location.reload();" />
		</div>
     </c:when>
     <c:when test="${command.studySubject.cctsWorkflowStatus=='MESSAGE_SEND_CONFIRMED'}">
		<div style="font-size: 10pt; padding-top: 10px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px">
			<strong><font color="green">
				<fmt:message key="REGISTRATION.BROADCAST.SENT_SUCCESSFULLY"/>
			</font><br></strong>
		</div>
		<div align="center" style="padding-top: 20px">
		<tags:button type="button" color="red" icon="x" value="Cancel" onclick="contentWin.close();" />
		</div>
	</c:when>
	<c:when test="${!empty codedError}">
		<div style="font-size: 10pt; padding-top: 5px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px">
			<div style="float: left; padding: 5px;">
				<img src="<tags:imageUrl name='error.png'/>" alt="Calendar" border="0" align="middle"/>
			</div>
			<strong><font color="red">
				${codedError.codedExceptionMesssage}
			</font><br></strong>
			<fmt:message key="REGISTRATION.BROADCAST.ERROR"/>
     		<fmt:message key="BROADCAST.RESEND"/>
		</div>
		<div align="center" style="padding-top: 20px">
		<tags:button type="button "color="blue" value="Yes" onclick="javascript:doSendMessageToESB();"/>
		<tags:button type="button" color="red" icon="x" value="Cancel" onclick="contentWin.close();" /><commit_msg>Updated. Related to CPR-876.<commit_after><%@ include file="../taglibs.jsp" %>
<script>
new Element.hide('broadcastWait');
new Element.hide('broadcastResponseCheckWait');
</script>
<div style="padding-top: 5px" align="left">
<c:choose>
	<c:when test="${command.studySubject.cctsWorkflowStatus=='MESSAGE_SEND'}">
     	<div style="font-size: 10pt; padding-top: 10px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px">
			<fmt:message key="REGISTRATION.BROADCAST.SENT_NO_RESPONSE"/>
		</div>
		<div align="center" style="padding-top: 20px">
			<tags:button type="button "color="blue" value="Check response" onclick="javascript:getBroadcastStatus();"/>
			<tags:button type="button" color="red" icon="x" value="Later" onclick="window.location.reload();" />
		</div>
     </c:when>
     <c:when test="${command.studySubject.cctsWorkflowStatus=='MESSAGE_SEND_CONFIRMED'}">
		<div style="font-size: 10pt; padding-top: 10px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px">
			<strong><font color="green">
				<fmt:message key="REGISTRATION.BROADCAST.SENT_SUCCESSFULLY"/>
			</font><br></strong>
		</div>
		<div align="center" style="padding-top: 20px">
		<tags:button type="button" color="red" icon="x" value="Close" onclick="window.location.reload();" />
		</div>
	</c:when>
	<c:when test="${!empty codedError}">
		<div style="font-size: 10pt; padding-top: 5px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px">
			<div style="float: left; padding: 5px;">
				<img src="<tags:imageUrl name='error.png'/>" alt="Calendar" border="0" align="middle"/>
			</div>
			<strong><font color="red">
				${codedError.codedExceptionMesssage}
			</font><br></strong>
			<fmt:message key="REGISTRATION.BROADCAST.ERROR"/>
     		<fmt:message key="BROADCAST.RESEND"/>
		</div>
		<div align="center" style="padding-top: 20px">
		<tags:button type="button "color="blue" value="Yes" onclick="javascript:doSendMessageToESB();"/>
		<tags:button type="button" color="red" icon="x" value="Cancel" onclick="contentWin.close();" />
{'fraction_non_alphanumeric': 0.20286278381046396, 'fraction_numerical': 0.016535044422507403, 'mean_word_length': 5.846283783783784, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '5835363', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1406, 'n_words': 261}