<%@ 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" %> <% int indexOfLastSlash = contextPrefix.lastIndexOf("/"); int indexOfDot = contextPrefix.lastIndexOf("."); String prefix = contextPrefix.substring(0,indexOfLastSlash+1); String suffix = contextPrefix.substring(indexOfDot,contextPrefix.length()); %> <% boolean canManageAtLeastOneBoard = false; boolean atLeastOneBoardIsPublic = false; for(net.sourceforge.fenixedu.domain.messaging.AnnouncementBoard announcementBoard: currentExecutionCoursesAnnouncementBoards) { if (announcementBoard.getReaders() == null) { atLeastOneBoardIsPublic = true; break; } } for(net.sourceforge.fenixedu.domain.messaging.AnnouncementBoard announcementBoard: currentExecutionCoursesAnnouncementBoards) { if (announcementBoard.hasManager(person)) { canManageAtLeastOneBoard = true; break; } } %> <% if (canManageAtLeastOneBoard) { %> <% } %> <% if (atLeastOneBoardIsPublic) { %> <% } %> <% if (!announcementBoard.getBookmarkOwner().contains(person)) { %> <% } else { %> <% } %> <% if (announcementBoard.hasManager(person)) { %> <% } else if (canManageAtLeastOneBoard) { %> <% } java.util.Map parameters = new java.util.HashMap(); parameters.put("method","simple"); parameters.put("announcementBoardId",announcementBoard.getIdInternal()); request.setAttribute("parameters",parameters); %> <% if (announcementBoard.getReaders() == null) { %> <% } else if (atLeastOneBoardIsPublic) { %> <% } %>
Nome Tipo Favoritos RSS
<% if (announcementBoard.hasReader(person)) { %> <% } else { %> <% } %> (Adicionar) (Remover) "> Gerir   <bean:message key="/>