<%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyPeriodConfirmationOption"%> <%@ page language="java"%> <%@page import="net.sourceforge.fenixedu.domain.Person"%> <%@page import="net.sourceforge.fenixedu.domain.Country"%> <%@page import="net.sourceforge.fenixedu.domain.organizationalStructure.Unit"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyContestGroup"%> <%@page import="java.util.SortedSet"%> <%@page import="net.sourceforge.fenixedu.domain.ExecutionDegree"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyContest"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyPeriod"%> <%@page import="net.sourceforge.fenixedu.util.BundleUtil"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr"%> <%@ taglib uri="/WEB-INF/academic.tld" prefix="academic" %>

"/> <% if (outboundMobilityContextBean.getCandidacyPeriods().size() == 0) { %>   |   <% } %> <% if (outboundMobilityContextBean.getCandidacyPeriods().size() == 1) { %>   |     |     |     |   ">   |   "> <% } %> <% if (outboundMobilityContextBean.getMobilityGroups().size() == 1) { %>   |     |     |     |   "> <% } %>
<% if (outboundMobilityContextBean.getMobilityGroups().size() == 1) { final OutboundMobilityCandidacyContestGroup mobilityGroup = outboundMobilityContextBean.getMobilityGroups().iterator().next(); %> <% } %> <% if (outboundMobilityContextBean.getCandidacyPeriods().size() == 1) { final OutboundMobilityCandidacyPeriod candidacyPeriod = outboundMobilityContextBean.getCandidacyPeriods().iterator().next(); request.setAttribute("candidacyPeriod", candidacyPeriod); %> <% } %> <% if (outboundMobilityContextBean.getMobilityGroups().size() == 1) { final OutboundMobilityCandidacyContestGroup mobilityGroup = outboundMobilityContextBean.getMobilityGroups().iterator().next(); %>

<% if (mobilityGroup.getMobilityCoordinatorCount() == 0) { %> <% } else { %> <% for (final Person person : mobilityGroup.getMobilityCoordinatorSet()) { %> <% } %>
" style="padding: 1em 0;" />
<%= person.getUsername() %> <%= person.getName() %> ">
<% } %> <% } %>

<% final SortedSet contests = outboundMobilityContextBean.getOutboundMobilityCandidacyContest(); if (contests.isEmpty()) { %> <% } else { %> <% if (outboundMobilityContextBean.getCandidacyPeriods().size() > 1) { %> <% } %> <% if (outboundMobilityContextBean.getMobilityGroups().size() > 1) { %> <% } %> <% if (outboundMobilityContextBean.getMobilityPrograms().size() > 1) { %> <% } %> <% for (final OutboundMobilityCandidacyContest contest : contests) { final Unit unit = contest.getMobilityAgreement().getUniversityUnit(); final Country country = unit.getCountry(); final String hideVacanciesID = "hideVacancies" + contest.getExternalId(); final String showVacanciesID = "showVacancies" + contest.getExternalId(); final String inputVacanciesID = "inputVacancies" + contest.getExternalId(); final String vacanciesText = contest.getExternalId(); %> <% if (outboundMobilityContextBean.getCandidacyPeriods().size() > 1) { %> <% } %> <% if (outboundMobilityContextBean.getMobilityGroups().size() > 1) { %> <% } %> <% if (outboundMobilityContextBean.getMobilityPrograms().size() > 1) { %> <% } %> <% } %>
    
<%= contest.getOutboundMobilityCandidacyPeriod().getIntervalAsString() %> <% for (final ExecutionDegree executionDegree : contest.getOutboundMobilityCandidacyContestGroup().getSortedExecutionDegrees()) { %> <%= executionDegree.getDegree().getSigla() %> <% } %> <%= country == null ? "" : country.getLocalizedName().toString() %> <%= contest.getMobilityAgreement().getUniversityUnit().getPresentationName() %><%= contest.getMobilityAgreement().getMobilityProgram().getRegistrationAgreement().getDescription() %> <%= contest.getVacancies() == null ? "" : contest.getVacancies().toString() %>   " style="border-bottom: 0px; float: right; vertical-align: middle;"> " />    <% if (contest.getOutboundMobilityCandidacyCount() == 0) { %> 0 <% } else { %> "> <%= contest.getOutboundMobilityCandidacyCount() %> <% } %> ">
<% } %>