{strip}
    {foreach item=dir from=$list.dirs}
	<div class="file-manager-list">
		<div class="card">
			<a href="/admin/files?path={$path}{$dir.folder}">
				<div class="card-img-actions mx-1 mt-1"><i class="icon-folder card-img img-fluid" style="font-size: 76px;padding: 7px;"></i></div>
			</a>
			<div class="card-file-upload-body text-left">
				<a href="/admin/files?path={$path}{$dir.folder}">
					<div>
						<div class="font-weight-semibold">{$dir.folder|escape}</div>
						<div class="font-size-sm text-muted">Файлов: {$dir.file_count}</div>
						<div class="font-size-sm text-muted">Вес папки: {$dir.size|fsize_format|default:0}</div>
					</div>
				</a>
				<div class="d-flex align-items-start flex-nowrap">
					<div class="list-icons list-icons-extended ml-auto">
						<a href="javascript:void('')"
						   data-path="{$path|escape}"
						   data-folder="{$dir.folder|escape}"
						   data-confirm="{javascript:sureToDelete} «{$dir.folder|escape}»?"
						   class="list-icons-item remove_folder">
						</a>
					</div>
				</div>
			</div>
		</div>
	</div>
    {/foreach}
{/strip}