<%--

    Copyright 2005-2016 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.opensource.org/licenses/ecl2.php

    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="Include.jsp"%>

<html>
<head>
<title>Kuali Enterprise Notification - Request to Send Notification ${workflowActionTaken}</title>
<meta name="Author" content="Aaron Godert (ag266 at cornell dot edu)">
<link href="css/notification.css" rel="stylesheet" type="text/css" />
<c:if test="${(! empty workflowActionTaken) && (standaloneWindow eq 'false')}">
	<script type="text/javascript">
		parent.parent.frames[0].location.reload();
	</script>
</c:if>
<c:if test="${(! empty workflowActionTaken) && (standaloneWindow eq 'true')}">
	<script type="text/javascript">
		self.opener.location.reload();
		self.close();
	</script>
</c:if>
</head>
<body>

<div id="pagebody">
		<!-- actually render page if javascript is turned off -->
       	<center>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<b>The request to send the notification was successfully ${workflowActionTaken}!</b>
	       	<br/>
	       	<br/>
	       	<b>Please close this window and refresh your action list if it was not refreshed automatically.</b>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<br/>
	       	<a href="javascript:self.close()">
	         	<img src="images/buttonsmall_close.gif" border="0" alt="close" />
            </a>       	
       	</center>
</div>

</body>
</html>
