<%@page import="net.sourceforge.fenixedu.domain.Person"%> <%@page import="net.sourceforge.fenixedu.domain.credits.util.AnnualTeachingCreditsBean"%> <%@page import="net.sourceforge.fenixedu.domain.teacher.TeacherServiceLog"%> <%@page import="java.util.SortedSet"%> <%@ 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/taglibs-datetime.tld" prefix="dt"%> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr" %> <%-- --%> <% final SortedSet logs = ((AnnualTeachingCreditsBean) request.getAttribute("annualTeachingCreditsBean")).getLogs(); %> <% if (logs.isEmpty()) { %> <% } else { %> <% for (final TeacherServiceLog log : logs) { final Person person = log.getUser()!=null?log.getUser().getPerson():null; %> <% } %>
<%= log.getModificationDate().toString("yyyy-MM-dd HH:mm") %> <% if(person != null){ %> <%= person.getNickname() %> (<%= person.getUsername() %>) <%}%> <%= log.getTeacherService().getExecutionPeriod().getName() %>
<%= log.getDescription() %>
<% } %>