From 1bf3c650ff0324670bb217c24bd5c3e51a6476a0 Mon Sep 17 00:00:00 2001 From: gortiz-dotcms Date: Fri, 19 Jun 2026 15:47:41 -0300 Subject: [PATCH] fix: add a go back button on the contents tab (#34749) --- .../portlet/ext/contentlet/contentlet_actions_inc.jsp | 9 +++++++++ 1 file changed, 9 insertions(+) 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) {%> +
+ + ← <%= LanguageUtil.get(pageContext, "Back-to") %> <%= LanguageUtil.get(pageContext, "com.dotcms.repackage.javax.portlet.title.publishing-queue") %> + +
+<%}%> + <%if(!"edit-page".equals(request.getParameter("angularCurrentPortlet")) && UtilMethods.isSet(contentUrl)) {%>