<commit_before><%--
Copyright 2005-2010 The Kuali Foundation

Licensed under the Educational Community License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.osedu.org/licenses/ECL-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    --%>
<%@ include file="/WEB-INF/jsp/kraTldHeader.jsp"%>

<kul:documentPage
    showDocumentInfo="true"
    htmlFormAction="awardActions"
    documentTypeName="AwardDocument"
    renderMultipart="false"
    showTabButtons="false"
    auditCount="0"
    headerTabActive="actions">

<kul:tabTop tabTitle="Award History" defaultOpen="true">

<c:set var="awardAmountInfoAttributes" value="${DataDictionary.AwardAmountInfo.attributes}" />
<c:set var="transactionDetailAttributes" value="${DataDictionary.TransactionDetail.attributes}" />
<c:set var="awardCurrentActionCommentAttributes" value="${DataDictionary.AwardComment.attributes}" />
<style>
	td.datacell div{
		text-align: right;
	}
</style>

	<div class="tab-container" align="center">
   		<h3>
   			<span class="subhead-left"> History</span>
       	    <span class="subhead-right"><kul:help parameterNamespace="KC-T" parameterDetailType="Document" parameterName="tmHistoryHelpUrl" altText="help"/></span>
        </h3>
		<c:forEach var="awardVersion" items="${KualiForm.awardsForHistoryDisplay}" varStatus="status"> 
		    <c:set var="awardVersionInfo" value="${awardVersion.lastAwardAmountInfo}" />
    	   	<table cellpadding="0" cellspacing="0" summary="">
        		<tr>
					<c:choose>
		        		<c:when test="${KualiForm.directIndirectViewEnabled == '1'}">
        	  				<td style="text-align: left; background-color: rgb(195, 195, 195); font-weight: bold; colspan: 11" colspan="15" />
          				</c:when>
						<c:otherwise>
							<td style="text-align: left; background-color: rgb(195, 195, 195); font-weight: bold; colspan: 7" colspan="11" />
						</c:otherwise>
					 </c:choose>
        	        	<div align="left"><commit_msg>KRACOEUS-4695: Show History panel from Award, similar to T&M History but in a separate browser tab.<commit_after><%--
Copyright 2005-2010 The Kuali Foundation

Licensed under the Educational Community License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.osedu.org/licenses/ECL-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    --%>
<%@ include file="/WEB-INF/jsp/kraTldHeader.jsp"%>

<kul:documentPage
    showDocumentInfo="true"
    htmlFormAction="awardActions"
    documentTypeName="AwardDocument"
    renderMultipart="false"
    showTabButtons="false"
    auditCount="0"
    headerTabActive="actions">

<kul:tabTop tabTitle="Award History" defaultOpen="true">

<c:set var="awardAmountInfoAttributes" value="${DataDictionary.AwardAmountInfo.attributes}" />
<c:set var="transactionDetailAttributes" value="${DataDictionary.TransactionDetail.attributes}" />
<c:set var="awardCurrentActionCommentAttributes" value="${DataDictionary.AwardComment.attributes}" />
<style>
	td.datacell div{
		text-align: right;
	}
</style>

	<div class="tab-container" align="center">
   		<h3>
   			<span class="subhead-left"> History</span>
        </h3>
		<c:forEach var="awardVersion" items="${KualiForm.awardsForHistoryDisplay}" varStatus="status"> 
		    <c:set var="awardVersionInfo" value="${awardVersion.lastAwardAmountInfo}" />
    	   	<table cellpadding="0" cellspacing="0" summary="">
        		<tr>
					<c:choose>
		        		<c:when test="${KualiForm.directIndirectViewEnabled == '1'}">
        	  				<td style="text-align: left; background-color: rgb(195, 195, 195); font-weight: bold; colspan: 11" colspan="15" />
          				</c:when>
						<c:otherwise>
							<td style="text-align: left; background-color: rgb(195, 195, 195); font-weight: bold; colspan: 7" colspan="11" />
						</c:otherwise>
					 </c:choose>
        	        	<div align="left">
{'fraction_non_alphanumeric': 0.13267543859649122, 'fraction_numerical': 0.019736842105263157, 'mean_word_length': 4.067777777777778, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 60, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6339715', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1368, 'n_words': 356}