<%@taglib prefix="s" uri="/struts-tags" %>
<style type="text/css">
    .param1 {
        width: 115px;
        float: left;
    }

    .param2 {
        width: 85px;
        float: right;
        text-align: right;
    }

    .forDate {
        height: 2px;
        background-color: #CCCCCC;
        width: 260px;
        float: left;
    }

    .hhhh {
        float: left !important;
        margin-left: 5px;
        margin-top: 3px !important;
        position: relative;
    }
</style>
<s:if test="%{changesValues!=null}">
    <div style="width:260px;text-align:center;margin-top: 0px;margin-bottom:10px;">History</div>
    <s:iterator value="changesValues" var="changesValue" status="s_changesValue">

        <div class="param1">
            <s:if test="%{isValueEmpty(#changesValue.paramValue)}">
                none
            </s:if>
            <s:else>
                <s:property value="#changesValue.paramValue"/>
            </s:else>

        </div>

        <s:if test="%{#changesValue.applied==0}">
            <img src="<%=request.getContextPath()%>/images/content/wait.png" width='8' height='12' class="hhhh"/>
        </s:if>
        <s:elseif test="%{#changesValue.applied==1}">
            <img src="<%=request.getContextPath()%>/images/content/flag.png" width='10' height='11' class="hhhh"/>
        </s:elseif>
        <s:elseif test="%{#changesValue.applied==2}">
            <img src="<%=request.getContextPath()%>/images/content/error.png" width="10" height="10" class="hhhh"/>
        </s:elseif>
        <s:elseif test="%{#changesValue.applied==3}">
            <img src="<%=request.getContextPath()%>/images/content/question.png" width='10' height='10' class="hhhh"/>
        </s:elseif>

        <div class="param2">
            <s:date name="#changesValue.changedDate" format="dd/MM/yyyy"/>
        </div>
        <s:if test="%{#s_changesValue.count<changesValues.size()}">
            <hr class="forDate"/>
        </s:if>
    </s:iterator>
    <input type="hidden" name="isHidden" value="0"/>
</s:if>
<s:else>
    <s:text name="msg.notChanged.property"/>
</s:else>