Added the link to the author profile when possible.

This commit is contained in:
Loic d'Anterroches
2008-12-05 14:51:51 +01:00
parent b660c6782f
commit 6c5da01319
7 changed files with 77 additions and 18 deletions

View File

@@ -47,7 +47,7 @@
{/if}
{/block}
{block context}
{assign $submitter = $file.get_submitter()}
{ashowuser 'submitter', $file.get_submitter(), $request}
<p><strong>{trans 'Uploaded:'}</strong> <span class="nobrk">{$file.creation_dtime|dateago}</span> <span class="nobrk">{blocktrans}by {$submitter}{/blocktrans}</span></p>
{if $file.modif_dtime != $file.creation_dtime}<p>
<strong>{trans 'Updated:'}</strong> <span class="nobrk">{$file.modif_dtime|dateago}</span></p>{/if}