Skip to content

Commit

Permalink
fix: fixed url lang param (#30724)
Browse files Browse the repository at this point in the history
  • Loading branch information
gortiz-dotcms committed Nov 26, 2024
1 parent 66e3b91 commit a34ecc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ if(!hasPermissions) {
<td>
<%if(structure.getStructureType()==Structure.STRUCTURE_TYPE_HTMLPAGE || isUrlMap ){ %>
<%session.setAttribute(com.dotmarketing.util.WebKeys.CMS_SELECTED_HOST_ID, content.getHost()); %>
<div style="padding:3px;"><a style="color:#0E80CB;" target="workflowWindow" text-decoration: underline;" href="/dotAdmin/#/edit-page/content?url=<%= editPath%>"><%= editPath%></a></div>
<div style="padding:3px;"><a style="color:#0E80CB;" target="workflowWindow" text-decoration: underline;" href="/dotAdmin/#/edit-page/content?url=<%= editPath+ "&language_id=" + lang.getId()%>"><%= editPath%></a></div>
<%}else if(structure.getStructureType()==Structure.STRUCTURE_TYPE_FILEASSET ){ %>
<div style="padding:3px;"><a style="color:#0E80CB; text-decoration: underline;" href="#" onclick="dotPreviewFile('/dA/<%=shorty.shortify(content.getInode()) %>/fileAsset/<%=id.getAssetName() %>?mode=PREVIEW_MODE')" >/dA/<%=shorty.shortify(content.getInode()) %>/fileAsset/<%=id.getAssetName() %>?mode=PREVIEW_MODE</a></div>
<%} %>
Expand Down

0 comments on commit a34ecc1

Please sign in to comment.