<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr"%>



<% net.sourceforge.fenixedu.domain.Curriculum curriculum = curricularCourse.findLatestCurriculumModifiedBefore(executionPeriod.getExecutionYear().getEndDate()); %> <% net.sourceforge.fenixedu.domain.Curriculum lastCurriculum = curricularCourse.findLatestCurriculum(); %> <% request.setAttribute("curriculum", curriculum); %> <% request.setAttribute("lastCurriculum", lastCurriculum); %>



<% if ((lastCurriculum == curriculum && (curricularCourse.getBasic() == null || !curricularCourse.getBasic().booleanValue())) || curriculum.getProgram() == null || curriculum.getProgramEn() == null || curriculum.getProgram().equals(org.apache.commons.lang.StringUtils.EMPTY) || curriculum.getProgramEn().equals(org.apache.commons.lang.StringUtils.EMPTY)) { %> /editProgram.do?method=prepareEditProgram&curriculumID= <% } %> <% if (curricularCourse.getBasic() == null || !curricularCourse.getBasic().booleanValue()) { %> /createProgram.do?method=prepareCreateProgram&curricularCourseID= <% } %>