2010-07-14 21:04:38 +00:00
|
|
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
|
2011-12-16 17:20:10 +00:00
|
|
|
<%@page import="edu.cornell.mannlib.vitro.webapp.utils.jena.JenaIngestUtils.MergeResult"%>
|
2010-07-14 21:04:38 +00:00
|
|
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
2011-04-27 20:20:25 +00:00
|
|
|
|
|
|
|
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
|
2011-12-21 23:02:31 +00:00
|
|
|
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
|
|
|
<% request.setAttribute("requestedActions", SimplePermission.USE_ADVANCED_DATA_TOOLS_PAGES.ACTION); %>
|
2011-04-27 20:20:25 +00:00
|
|
|
<vitro:confirmAuthorization />
|
2011-04-15 22:01:08 +00:00
|
|
|
|
2010-07-14 21:04:38 +00:00
|
|
|
<%@ page import="com.hp.hpl.jena.rdf.model.Model"%>
|
|
|
|
|
2010-12-22 17:33:20 +00:00
|
|
|
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Merge Individuals</h2>
|
|
|
|
|
2011-12-16 17:20:10 +00:00
|
|
|
<%
|
|
|
|
MergeResult resultObj = (MergeResult) request.getAttribute("result");
|
|
|
|
String result = resultObj.getResultText();
|
|
|
|
%>
|
|
|
|
|
2010-07-14 21:04:38 +00:00
|
|
|
<p><b><%=result%></b></p>
|
2011-12-16 17:20:10 +00:00
|
|
|
|
2010-07-22 20:30:09 +00:00
|
|
|
<%if(!result.equals("resource 1 not present") && !result.equals("resource 2 not present")){
|
|
|
|
if(!result.equals("No statements merged") && !result.endsWith("statements.")){%>
|
2011-02-11 16:29:44 +00:00
|
|
|
<p>Download non-mergeable statements.</p>
|
|
|
|
<form action="ingest" method="get">
|
|
|
|
<input type="hidden" name="action" value="mergeResult"/>
|
|
|
|
<input class="submit" type="submit" name="Download" value="Download" ></input>
|
|
|
|
</form>
|
|
|
|
<%}} %>
|