anchor.diff:  		activities = LearningActivityServiceUtil.getLearningActivitiesOfModule(moduleId);
   	}
   }
  -
   String activityEnd = "desactivado";
  -
   if ((actionEditing && hasPermissionAddLact) ||
   		(moduleId==0 
   		&& permissionChecker.hasPermission(themeDisplay.getScopeGroupId(), "com.liferay.lms.learningactivitymodel", themeDisplay.getScopeGroupId(), "ADD_ACTIVITY"))) {
   	
   	PortletURL urlCreateActivity = LmsActivitiesList.getURLCreateActivity(liferayPortletRequest, liferayPortletResponse, currentModule);
  -
   	if(Validator.isNotNull(urlCreateActivity)){
   		
   		%>
  
positive.code: 					<span class="type_<%=type%>"></span>
  							
  					<a href="<%=assetRendererFactory.getAssetRenderer(activity.getActId()).
  							getURLViewInContext(liferayPortletRequest, liferayPortletResponse, "").toString()%>"  ><%=title%></a>
  					
  			<%} else{ %>
  				<li class="learningActivity <%=activityEnd%> <%=editing %> <%=status%> locked"  <%=(status=="passed"||status=="failed" )?"title =\""+LanguageUtil.format(pageContext, "activity.result",new Object[]{resultNumberFormat.format(result)})+"\"":StringPool.BLANK %> 
  
negative.code: 		
  		learningActivityType = learningActivityTypeRegistry.getLearningActivityType(activity.getTypeId());
  		if (permissionChecker.hasPermission(activity.getGroupId(),LearningActivity.class.getName(),	activity.getActId(), ActionKeys.VIEW)){
  			if( (Validator.isNotNull(learningActivityType))&&
  				(accessLock || hasPermissionAccessCourseFinished || (!courseLocked && !activity.isLocked(themeDisplay.getUser(), themeDisplay.getPermissionChecker()))  
  					||(permissionChecker.hasPermission(activity.getGroupId(), LearningActivity.class.getName(), activity.getActId(), ActionKeys.UPDATE) && actionEditing))){%>
  