{var $preview = $doc->hasPreview() ? $doc->getPreview() : NULL} {var $tags = $doc->getTags()} {var $copied = !isset($club) ? $doc->isCopiedBy($thisUser) : $doc->isCopiedBy($club)} {var $modifiable = $doc->canBeModifiedBy($thisUser)}
{if $preview} document_preview {else}
{$doc->getFileExtension()}
{/if}
{$doc->getName()}