<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jspf/taglibs.jsp"%>

<html:form action="/admin/user">
	<input type="hidden" name="method" value="groupList"/>

	<table>
		<tr>
			<td width="100%">
				<c:url var="url" value="/user/plugin/callboard/work.do">
					<c:param name="method" value="shiftGet"/>
					<c:param name="id" value="-1"/>
					<c:param name="returnUrl" value="${form.requestUrl}"/>
				</c:url>
			</td>
			<td>
				<ui:page-control/>
			</td>
		</tr>
	</table>
</html:form>

<table class="data">
	<tr>
		<!-- <td width="30">&#160;</td> -->
		<td width="30">ID</td>
		<td width="50%">${l.l('Title')}</td>
		<td width="50%">Комментарий</td>
	</tr>

	<c:forEach var="item" items="${frd.workDaysCalendarList}">
		<tr>
			<c:url var="editUrl" value="/user/plugin/callboard/work.do">
				<c:param name="method" value="workDaysCalendarGet"/>
				<c:param name="id" value="${item.id}"/>
				<c:param name="returnUrl" value="${form.requestUrl}"/>
			</c:url>

			<td>${item.id}</td>
			<td><a href="#" onclick="$$.ajax.loadContent('${editUrl}'); return false;">${item.title}</a></td>
			<td>${item.comment}</td>
		</tr>
	</c:forEach>
</table>

<shell:title text="${l.l('Календарь рабочих дней')}"/>
<shell:state/>