<%@include file="../init.jsp"%> <% String selectedItemId = (String) request.getAttribute("itemId"); String selectedItemName = (String) request.getAttribute("itemName"); pageContext.setAttribute("selectedItemName",selectedItemName); pageContext.setAttribute("selectedItemId",selectedItemId); Group group = (Group) GroupLocalServiceUtil.getGroup(PortalUtil.getScopeGroupId(request)); long currentGroupId = group.getGroupId(); String currentURL = PortalUtil.getCurrentURL(request); pageContext.setAttribute("currentURL",currentURL); List fileVersions = (List) renderRequest.getAttribute("versions"); if (fileVersions != null) Collections.reverse(fileVersions); pageContext.setAttribute("fileVersions", fileVersions); String portletURLString = PortalUtil.getCurrentURL(request); RowChecker rowChecker = new RowChecker(renderResponse); String currentUsername = Utils.getCurrentUser(request).getUsername(); PortletURL portletURL = renderResponse.createRenderURL(); String iconHTML = IconsManager.getMDIconTextualName(selectedItemName).getHtml(); %>  Back to Private Repository Content

Available versions for: ${selectedItemName}

<% WorkspaceFileVersion version = (WorkspaceFileVersion) pageContext.getAttribute("file"); Date created = new Date(version.getCreated().getTimeInMillis()); pageContext.setAttribute("created", created); %>
Version Number Created date (UTC) Current
<%=iconHTML%> ${file.name} ${file.currentVersion}
Liferay.provide( window, 'associateCompanyUsers', function() { var addUserIds = Liferay.Util.listCheckedExcept(document.fm, 'allRowIds'); if (addUserIds && confirm("Are you sure you want to associate the selected users to this company?")) { document.fm.addUserIds.value = addUserIds; submitForm(document.fm, ''); } else { } }, ['liferay-util-list-fields'] );