<%@ include file="/common/taglibs.jsp" %>

<head>
    <title><fmt:message key="title.admin.clients"/> | <fmt:message key="title.admin"/></title>
    <meta name="menu" content="admin"/>
</head>


<c:set var="panelContent">
	
    <div class="Pane" >
    <c:if test="${fn:length(model)==0}">
	<div class="feedback notification ">
	    <ul><li>There are no clients in the system.</li></ul>
	</div>
	</c:if>
    <div id="divContactsView">
            <span class="pagelinks hide"><ul><li class="page"><span>1</span></li><li class="page"><a href="/issues?d-3658821-p=2" title="Go to page 2">2</a></li><li class="page"><a href="/issues?d-3658821-p=3" title="Go to page 3">3</a></li><li class="page"><a href="/issues?d-3658821-p=4" title="Go to page 4">4</a></li><li>Prev</li><li class="next"><a href="/issues?d-3658821-p=2">Next</a></li></ul></span>

            <ul class="Contacts">
                <s:iterator value="model" id="user">
                <li>
                    <dl class="Contact vcard">
                        <dt class="fn"><a class="actEdit" href="${ctx}/admin/users/${id}">${fn:escapeXml(fullName)}</a></dt>
                        <dd class="avatar"><img width="32" height="32" src="${ctx}/profile/${id}/avatar" alt="photo of ${fn:escapeXml(fullName)}" class="photo"/></dd>
                        <dd class="tel mob">${fn:escapeXml(phoneNumber)}&nbsp;</dd>
                        <dd class="email"><a href="mailto:${email}">${email}</a></dd>
                        <%//<dd class="input"><input type="checkbox" checked="checked"/></dd>%>
                    </dl>
                </li>
                </s:iterator>
        </ul>
    </div>
    
</c:set>

<div class="rightPanel">
    <div class="PropertyPane">
        <h2>Actions</h2>
        <div class="Pane">

            <ul>
                <li><a class="actAddClient" href="${request.contextPath}/admin/clients/new"/><fmt:message key='action.newclient'/></a></li>
            </ul>

        </div>
    </div>
</div>


<div class="realContent">
    <c:import url="/WEB-INF/pages/includes/administration/menu/default.jsp">
        <c:param name="pageName" value="Clients"/>
        <c:param name="content" value="${panelContent}"/>
    </c:import>
</div>