From 1831716b079821d06cd182e2b4777ae64df99333 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Thu, 7 Aug 2008 09:24:15 +0200 Subject: [PATCH] Changed to display the update of a download only if updated. --- src/IDF/templates/downloads/view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IDF/templates/downloads/view.html b/src/IDF/templates/downloads/view.html index 790a227..4e1477e 100644 --- a/src/IDF/templates/downloads/view.html +++ b/src/IDF/templates/downloads/view.html @@ -49,8 +49,8 @@ {block context} {assign $submitter = $file.get_submitter()}

{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}

-

-{trans 'Updated:'} {$file.modif_dtime|dateago}

+{if $file.modif_dtime != $file.creation_dtime}

+{trans 'Updated:'} {$file.modif_dtime|dateago}

{/if}

{trans 'Downloads:'} {$file.downloads}

{if $tags.count()}