<%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyContest"%> <%@page import="net.sourceforge.fenixedu.domain.student.Registration"%> <%@page import="java.math.BigDecimal"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyContestGroup"%> <%@page import="java.util.SortedSet"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacySubmissionGrade"%> <%@page import="net.sourceforge.fenixedu.domain.Country"%> <%@page import="net.sourceforge.fenixedu.domain.organizationalStructure.Unit"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacy"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacyPeriod"%> <%@page import="net.sourceforge.fenixedu.domain.mobility.outbound.OutboundMobilityCandidacySubmission"%> <%@page import="net.sourceforge.fenixedu.domain.Person"%> <%@ page language="java"%> <%@ 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"%> <% final Person person = outboundMobilityContextBean.getPerson(); request.setAttribute("person", person); %>

<%= person.getName() %> ( <%= person.getUsername() %> )


/publico/retrievePersonalPhoto.do?method=retrieveByUUID&<%=net.sourceforge.fenixedu.presentationTier.servlets.filters.ContentInjectionRewriter.CONTEXT_ATTRIBUTE_NAME%>=/homepage&uuid=<%= person.getUsername() %>

           






">

" method="post"> <% if (registration.hasAnyOutboundMobilityCandidacySubmission()) { %> <% for (final OutboundMobilityCandidacySubmission submission : registration.getOutboundMobilityCandidacySubmissionSet()) { final OutboundMobilityCandidacyPeriod candidacyPeriod = submission.getOutboundMobilityCandidacyPeriod(); final int candidacyCount = submission.getOutboundMobilityCandidacyCount(); final int spanner = candidacyCount + 1; %>

<%= registration.getDegree().getPresentationName() %> - <%= candidacyPeriod.getExecutionInterval().getName() %>

  • : <%= candidacyPeriod.getIntervalAsString() %>
  • : <% final SortedSet groups = submission.getOutboundMobilityCandidacyContestGroupSet(); if (groups.size() > 1) { %>
      <% } for (final OutboundMobilityCandidacyContestGroup group : groups) { final String hideGradeID = "hideGrade" + submission.getExternalId(); final String showGradeID = "showGrade" + submission.getExternalId(); final String inputGradeID = "inputGrade" + submission.getExternalId(); final String gradeText = "grade" + submission.getExternalId(); final BigDecimal grade = submission.getGrade(group); if (groups.size() > 1) { %>
    • <%= group.getDescription() %>: <% } %>    <%= grade == null ? "" : grade.toString() %>   " style="border-bottom: 0px;">    " /> <% if (groups.size() > 1) { %>
    • <% } } if (groups.size() > 1) { %>
    <% } %>
  • :
      <% int i = 0; for (final OutboundMobilityCandidacy candidacy : submission.getSortedOutboundMobilityCandidacySet() ) { final OutboundMobilityCandidacyContest contest = candidacy.getOutboundMobilityCandidacyContest(); final Unit unit = contest.getMobilityAgreement().getUniversityUnit(); final Country country = unit.getCountry(); final String selectionClass = candidacy.getSubmissionFromSelectedCandidacy() == null ? "ui-state-default" : "ui-state-default-selected"; %>
    • <% final String name = unit.getName(); %> <%= name %> <%= name.length() >= 70 ? "
      " : "" %> -  <%= contest.getMobilityAgreement().getMobilityProgram().getRegistrationAgreement().getDescription() %> <%= country == null ? "" : "(" + country.getName() + ")" %> <% if (submission.getSelectedCandidacy() == null) { %> "> <% } %>    <%= contest.getOutboundMobilityCandidacyContestGroup().getDescription() %> <% if (candidacy.getSubmissionFromSelectedCandidacy() != null) { %> " style="border-bottom: 0px;">remove <% } %>
    • <% } %>
<% } %> <% } else { %>

<%= registration.getDegree().getPresentationName() %>

<% } %>