rendered paste body{if !empty($showDate)}
<span class="date">
{capture name=childTimestamp}{g->date timestamp=$item.originationTimestamp}{/capture}
{g->text text="Date: %s" arg1=$smarty.capture.childTimestamp}
</span>
{/if}
{if !empty($showOwner)}
<span class="owner">
{g->text text="Owner: %s" arg1=$item.owner.fullName|default:$item.owner.fullName}
</span>
{/if}
{if !empty($showSize) && $item.canContainChildren && $item.childCount > 0}
<span class="size">
{g->text one="Size: %d item"
many="Size: %d items"
count=$item.childCount
arg1=$item.childCount}
{if $item.descendentCount > $item.childCount}
{g->text one="(%d item total)"
many="(%d items total)"
count=$item.descendentCount
arg1=$item.descendentCount}
{/if}
</span>
{/if}
{if !empty($showViewCount) && $item.viewCount > 0}
<span class="viewCount">
{g->text text="Views: %d" arg1=$item.viewCount}
</span>
{/if}
{if !empty($showSummaries)}
{foreach from=$item.itemSummaries item=summary}
<span class="summary">
{$summary}
</span>
{/foreach}
{/if}