%@ taglib uri="/WEB-INF/tairtags.tld" prefix="tair" %>
<%@ page import="pub.utils.StringUtils" %>
<% if (handler.isEmpty()) { %>
No update history available
<% } %>
<%-- Otherwise, we'll see a list of history --%>
<% for(int i = 0; i < handler.size(); i++) {
pub.beans.UpdateHistoryBean historyBean = handler.get(i);
%>
-
(<%= historyBean.getDateUpdated() %>)
<%= historyBean.getType() %>
<% if (historyBean.getAffectedBean().isNull() == false) { %>
<%= historyBean.getAffectedBean().getName() %>
<% } %>
by <%= historyBean.getUpdatedBy().getName() %>
<% if (StringUtils.isNotEmpty(historyBean.getComment())) { %>
<%= historyBean.getComment() %>
<% } %>
<% } %>