Skip to content

Commit

Permalink
Merge pull request #197 from TelefonicaED/develop
Browse files Browse the repository at this point in the history
[UPDATED] #193256 Acceso a curso padre desde edición
  • Loading branch information
virginiama89 authored Jul 6, 2021
2 parents 88604c4 + 6cd754b commit d98aa6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docroot/html/courseadmin/editcourse.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ if(isCourseChild){
<liferay-ui:icon image="submit" message="courseadmin.adminactions.gotocourseparent" target="_top" url="<%=themeDisplay.getPortalURL() +\"/\"+ response.getLocale().getLanguage() +\"/web\"+ parentCourse.getGroup().getFriendlyURL()%>" />
<%} %>
<%-- Editar curso padre --%>
<%if(isCourseChild && !isCourseChild && permissionChecker.hasPermission(themeDisplay.getScopeGroupId(), Course.class.getName(), parentCourseId, ActionKeys.UPDATE)&& !parentCourse.isClosed()){%>
<%if(isCourseChild && permissionChecker.hasPermission(themeDisplay.getScopeGroupId(), Course.class.getName(), parentCourseId, ActionKeys.UPDATE)&& !parentCourse.isClosed()){%>
<portlet:renderURL var="editParentCourseURL">
<portlet:param name="courseId" value="<%=String.valueOf(parentCourseId) %>" />
<portlet:param name="backToEdit" value="<%=StringPool.TRUE %>" />
Expand All @@ -320,7 +320,7 @@ if(isCourseChild){
<liferay-ui:icon image="edit" message="course-admin.edit-parent-course" url='${editParentCourseURL }' />
<%}%>
<%-- Asignar miembros --%>
<%if(permissionChecker.hasPermission(themeDisplay.getScopeGroupId(), Course.class.getName(), courseId, "ASSIGN_MEMBERS") && ! course.isClosed() && showMembers && (!isCourseChild || editionsWithoutRestrictions)){%>
<%if(permissionChecker.hasPermission(themeDisplay.getScopeGroupId(), Course.class.getName(), courseId, "ASSIGN_MEMBERS") && ! course.isClosed() && showMembers){%>
<portlet:renderURL var="memebersURL">
<portlet:param name="courseId" value="<%=String.valueOf(courseId) %>" />
<portlet:param name="backToEdit" value="<%=StringPool.TRUE %>" />
Expand Down

0 comments on commit d98aa6d

Please sign in to comment.