### {$c.collection_name|capitalize} {$c.type|capitalize} ({$c.total_objects})

{lang code='collection' assign='object_type'} {uploadButton details=$c output='link' target="_blank" class='btn btn-danger pull-right'}

{section name=list loop=$objects}
- {include file="$style_dir/blocks/collection.html" object=$objects[list] display_type=view_collection type=$c.type}
{sectionelse}
{$c.collection_name} has 0 items.
{/section}

{include file="$style_dir/blocks/pagination.html"}
{*AD place='ad_160x600'*}
Add to Report
{*show_share_form id=$c.collection_id type=Collection*} {show_flag_form id=$c.collection_id type=Collection}

{lang code="Uploaded:"} {$c.date_added|niceTime}
{lang code="Views:"} {$c.views|number_format}
{lang code="Categories:"} {$c.category|categories:collections}
{lang code="Tags:"} {$c.collection_tags|tags:collections}
{*include file="$style_dir/blocks/new_pagination.html"*}
{if $myquery->is_commentable($c,'collection')}

## {lang code="comments"} ({$c.total_comments})

{if $myquery->is_commentable($c,'collection')} {include file="$style_dir/blocks/comments/add_comment.html" id=$c.collection_id type='cl'} {/if}

{else}
{lang code='comm_disabled_for_collection'}
{/if}