Changed to display the update of a download only if updated.

This commit is contained in:
Loic d'Anterroches 2008-08-07 09:24:15 +02:00
parent 553f5179a2
commit 1831716b07

View File

@ -49,8 +49,8 @@
{block context} {block context}
{assign $submitter = $file.get_submitter()} {assign $submitter = $file.get_submitter()}
<p><strong>{trans 'Uploaded:'}</strong> <span class="nobrk">{$file.creation_dtime|dateago}</span> <span class="nobrk">{blocktrans}by {$submitter}{/blocktrans}</span></p> <p><strong>{trans 'Uploaded:'}</strong> <span class="nobrk">{$file.creation_dtime|dateago}</span> <span class="nobrk">{blocktrans}by {$submitter}{/blocktrans}</span></p>
<p> {if $file.modif_dtime != $file.creation_dtime}<p>
<strong>{trans 'Updated:'}</strong> <span class="nobrk">{$file.modif_dtime|dateago}</span></p> <strong>{trans 'Updated:'}</strong> <span class="nobrk">{$file.modif_dtime|dateago}</span></p>{/if}
<p> <p>
<strong>{trans 'Downloads:'}</strong> <span class="nobrk">{$file.downloads}</span></p> <strong>{trans 'Downloads:'}</strong> <span class="nobrk">{$file.downloads}</span></p>
{if $tags.count()} {if $tags.count()}