%
/*
* ====================================================================
* Copyright (c) 2005-2009 sventon project. All rights reserved.
*
* This software is licensed as described in the file LICENSE, which
* you should have received as part of this distribution. The terms
* are also available at http://www.sventon.org.
* If newer versions of this license are posted there, you may use a
* newer version instead, at your option.
* ====================================================================
*/
%>
<%@ include file="/WEB-INF/jspf/pageInclude.jspf" %>
<%@ page import="org.sventon.model.LogEntryActionType" %>
<%@ page import="org.apache.commons.lang.BooleanUtils" %>
<%@ include file="/WEB-INF/jspf/pageHead.jspf" %>
Diff View
<%@ include file="/WEB-INF/jspf/pageTop.jspf"%>
${command.fromPath} @ revision ${command.fromRevision} |
${command.toPath} @ revision ${command.toRevision} |
|
|
|
<%
final LogEntryActionType actionType;
final char actionCode = row.getModificationType().getCode();
if (actionCode == ' ') {
actionType = null;
} else {
actionType = LogEntryActionType.parse(actionCode);
}
%>
<%= actionType == null ? "" : actionType %> |
<% if (LogEntryActionType.ADDED == actionType || LogEntryActionType.REPLACED == actionType) { %>
${row.path} |
<% } else if (LogEntryActionType.DELETED == actionType) { %>
${row.path} |
<% } else if (LogEntryActionType.MODIFIED == actionType) { %>
${row.path} |
<% } else { %>
${row.path} |
<% } %>
<%= BooleanUtils.toStringYesNo(row.isPropertiesModified()) %> |
: |
${fn:length(diffResult)} |
|
<%@ include file="/WEB-INF/jspf/pageFoot.jspf"%>