diff --git a/dotCMS/src/main/webapp/html/portlet/ext/contentlet/contentlet_actions_inc.jsp b/dotCMS/src/main/webapp/html/portlet/ext/contentlet/contentlet_actions_inc.jsp index a3391e075444..8d2af2006b03 100644 --- a/dotCMS/src/main/webapp/html/portlet/ext/contentlet/contentlet_actions_inc.jsp +++ b/dotCMS/src/main/webapp/html/portlet/ext/contentlet/contentlet_actions_inc.jsp @@ -20,6 +20,7 @@ if(user == null){ } boolean isUserCMSAdmin = user.isAdmin(); boolean isHost = ("Host".equals(structure.getVelocityVarName())); +boolean isFromPublishingQueue = UtilMethods.isSet(referer) && referer.contains("publishing-queue"); boolean isContLocked=(request.getParameter("sibbling") != null) ? false : contentlet.isLocked(); WorkflowTask wfTask = APILocator.getWorkflowAPI().findTaskByContentlet(contentlet); @@ -150,6 +151,14 @@ function jumpToContentType(){ <%--check permissions to display the save and publish button or not--%> +<%if(isFromPublishingQueue) {%> +
+<%}%> + <%if(!"edit-page".equals(request.getParameter("angularCurrentPortlet")) && UtilMethods.isSet(contentUrl)) {%>