		<div class="autoscroll">
		<table class="list">
			<thead><tr>
				<th><%= translate 'start' %></th>
				<th><%= translate 'end' %></th>
				<th><%= l(:workload_user_vacation_type) %></th>
				<th><%= l(:field_comments) %></th>
				<% if is_allowed %>			
					<th colspan="2"></th>
				<% end %>
			</tr></thead>
			<tbody>
		<% for vacation in wl_user_vacations -%>
			<tr class="<%= cycle("odd", "even") %>">
				<td><%= vacation.date_from.blank? ? '' : vacation.date_from.to_date.to_s %></td>
				<td><%= vacation.date_to.blank? ? '' : vacation.date_to.to_date.to_s %></td>
				<td><%= vacation.vacation_type.blank? ? '' : vacation.vacation_type %></td>				
				<td><%= vacation.comments.blank? ? '' : vacation.comments %></td>
				<% if is_allowed %>
	      			<td><%= link_to l(:button_edit), edit_wl_user_vacation_path(vacation) %></td>
	      			<td><%= link_to l(:button_delete), wl_user_vacation_path(vacation),
	              		method: :delete,
	              		data: { confirm: l(:text_are_you_sure) } %></td>
	            <% end %>

			</tr>
		<% end -%>	
			</tbody>
		</table>
		</div>