<%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - This page lists the current supervisory settings for workspace items - - Attributes: - supervised - An array of supervised items --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@page import="javax.servlet.jsp.jstl.fmt.LocaleSupport"%> <%@ page import="org.dspace.content.Item" %> <%@ page import="org.dspace.eperson.EPerson" %> <%@ page import="org.dspace.eperson.Group" %> <%@ page import="org.dspace.core.Utils" %> <%@ page import="org.dspace.content.WorkspaceItem" %> <%@ page import="java.util.List" %> <%@ page import="org.apache.commons.lang.StringUtils" %> <% // get the object array out of the request List supervisedItems = (List) request.getAttribute("supervised"); request.setAttribute("LanguageSwitch", "hide"); %>

">

<% String row = "even"; for (int i = 0; i < supervisedItems.size(); i++) { // get title (or "untitled" if not set), author, and supervisors of // the supervised item String title = supervisedItems.get(i).getItem().getName(); // String title = (titleArray.length > 0 ? titleArray[0].value : "Untitled"); EPerson submitter = supervisedItems.get(i).getItem().getSubmitter(); List supervisors = supervisedItems.get(i).getSupervisorGroups(); for (int j = 0; j < supervisors.size(); j++) { %> <% row = (row.equals("even") ? "odd" : "even" ); } } %>
   
<%-- form to navigate to the item policies --%>
"/>
<%= supervisors.get(j).getName() %> <%= Utils.addEntities(submitter.getFullName()) %> <% if (StringUtils.isNotBlank(title)) { %> <%= title %> <% } else { %> <% } %> <%-- form to request removal of supervisory linking --%>
"/>
<%-- form to navigate to the "add supervisory settings" page --%>
"/> "/>