%@include file="../init.jsp"%> <% List submittedFormsWithPublishStatus = (List) renderRequest.getAttribute("submittedFormsWithPublishStatus"); pageContext.setAttribute("submittedFormsWithPublishStatus", submittedFormsWithPublishStatus); pageContext.setAttribute("logoURL", renderRequest.getAttribute("companyLogoURL")); String portletURLString = PortalUtil.getCurrentURL(request); RowChecker rowChecker = new RowChecker(renderResponse); String currentUsername = Utils.getCurrentUser(request).getUsername(); GCubeTeam theCompany = (GCubeTeam) request.getAttribute("theCompany"); pageContext.setAttribute("theCompanyName", theCompany.getTeamName()); GCubeTeam theFarm = (GCubeTeam) request.getAttribute("theFarm"); if (theFarm != null) { pageContext.setAttribute("farmyName", theFarm.getTeamName()); pageContext.setAttribute("farmId", theFarm.getTeamId()); } Group group = (Group) GroupLocalServiceUtil.getGroup(PortalUtil.getScopeGroupId(request)); long currentGroupId = group.getGroupId(); String currentURL = PortalUtil.getCurrentURL(request); pageContext.setAttribute("AnalyticalToolkitPortletEndpoint", Utils.ANALYTICAL_TOOLKIT_PORTLET_ENDPOINT); pageContext.setAttribute("farmIdParamEncoded", Utils.maskId("farmid")); pageContext.setAttribute("batchTypeParamEncoded", Utils.maskId("batchtype")); %> ${theCompanyName} / ${farmyName} - Private Repository Content The repository is empty at the moment. You can submit files via the dedicated pages in the VRE (Hatchery, Pre-ongrowing and Grow out) Sel. Name Uploaded by (UTC) Published by (UTC) Publishing Status <% SubmittedForm submittedForm = (SubmittedForm) pageContext.getAttribute("form"); ExternalFile item = submittedForm.getFormFile(); String iconHTML = IconsManager.getMDIconTextualName(item.getName()).getHtml(); String fullName = ""; if (item.getVersionHistory() != null && item.getVersionHistory().size() > 0) { WorkspaceVersion v = item.getVersionHistory().get(item.getVersionHistory().size()-1); fullName = Utils.getUserByUsername(v.getUser()).getFullname(); } else { fullName = Utils.getUserByUsername(item.getLastUpdatedBy()).getFullname(); } String userProfileLink = Utils.getUserProfileLink(item.getLastUpdatedBy()); long timeInMillis = item.getLastModificationTime().getTimeInMillis(); Date lastUpdated = new Date(timeInMillis); //needed to check if publishing occurs after the validation pageContext.setAttribute("lastValidatedTime", timeInMillis); pageContext.setAttribute("lastUpdated", lastUpdated); String fullNamePublisher = SubmittedForm.NOT_YET_PUBLISHER; String userProfileLinkPublisher = ""; pageContext.setAttribute("rowBgColor", "#FFF"); pageContext.setAttribute("buttonCheckProgressStyle", "display: none;"); pageContext.setAttribute("farmIdEncoded", Utils.maskId(theFarm.getTeamId())); pageContext.setAttribute("batchTypeEncoded", Utils.maskId(submittedForm.getBatchType())); if (submittedForm.getSubmitterIdentity() != null) { fullNamePublisher = Utils.getUserByUsername(submittedForm.getSubmitterIdentity()).getFullname(); pageContext.setAttribute("fullNamePublisher", fullNamePublisher); userProfileLinkPublisher = Utils.getUserProfileLink(submittedForm.getSubmitterIdentity()); if (submittedForm.getEndTimeinMillis() != PublishAnonymisedJob.EPOCH_TIME_JOB_NOTFINISHED*1000) { long timeInMillis2 = submittedForm.getEndTimeinMillis(); pageContext.setAttribute("lastPublishedTime", timeInMillis2); //needed to check if publishing occurs after the validation Date jobEndTime = new Date(timeInMillis2); pageContext.setAttribute("jobEndTime", jobEndTime); } else { pageContext.setAttribute("jobEndTime", ""); pageContext.setAttribute("fullNamePublisher", ""); pageContext.setAttribute("rowBgColor", "rgb(228, 223, 0)"); pageContext.setAttribute("buttonCheckProgressStyle", "display: visible;"); } } else { pageContext.setAttribute("fullNamePublisher", ""); //reset the field pageContext.setAttribute("jobEndTime", "");//reset the field } %> <%=iconHTML%> ${form.formFile.name} <%=fullName%> ${fullNamePublisher} ${form.status} Analyse Analyse Analyse Download latest version See all versions Anonymise and Publish The publishing and anonymising process started correctly. Please click here to monitor the progress. We're sorry. An error occurred in the server. The publishing and anonymising process could not start, please report this issue. Close
${theCompanyName} / ${farmyName} - Private Repository Content
The repository is empty at the moment. You can submit files via the dedicated pages in the VRE (Hatchery, Pre-ongrowing and Grow out)
The publishing and anonymising process started correctly. Please click here to monitor the progress.
We're sorry. An error occurred in the server. The publishing and anonymising process could not start, please report this issue.