%@ 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/enum.tld" prefix="e" %>
<%@ taglib uri="/WEB-INF/collectionPager.tld" prefix="cp"%>
<%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr"%>
<%@page import="net.sourceforge.fenixedu.presentationTier.servlets.filters.ContentInjectionRewriter"%>
<%@page import="net.sourceforge.fenixedu.presentationTier.servlets.filters.ContentInjectionRewriter"%>
<%@page import="net.sourceforge.fenixedu.domain.person.RoleType" %>
<% if(loggedPerson.hasRole(RoleType.STUDENT)) { %>
:
<% } %>
<%
net.sourceforge.fenixedu.domain.RootDomainObject rootDomainObject = net.sourceforge.fenixedu.domain.RootDomainObject.getInstance();
if (rootDomainObject.getIrsDeclarationLink() != null
&& rootDomainObject.getIrsDeclarationLink().getAvailable() != null
&& rootDomainObject.getIrsDeclarationLink().getAvailable().booleanValue()) {
%>
:
<%= ContentInjectionRewriter.NO_CHECKSUM_PREFIX_HAS_CONTEXT_PREFIX %>
(.pdf)
<%
}
%>
<%= String.valueOf((rootDomainObject.getIrsDeclarationLink() == null
|| rootDomainObject.getIrsDeclarationLink().getAvailable() == null
|| !rootDomainObject.getIrsDeclarationLink().getAvailable().booleanValue())
&& (!loggedPerson.hasRole(RoleType.STUDENT)
|| !loggedPerson.hasStudent())) %>