dataModel.put("listItems", sortContentListResource(((ContentListResourceResponse) payload).getData()));
dataModel.put("request", req);
dataModel.put("nexusVersion", systemStatusProvider.get().getVersion());
dataModel.put("nexusRoot", BaseUrlHolder.get());
final VelocityRepresentation representation =
new VelocityRepresentation(context, "/templates/repositoryContentHtml.vm",
getClass().getClassLoader(), dataModel, variant.getMediaType());
return representation;
}
return null;