From ca4a90d1c4edbd0430c6ac38fe5a956ed3d997a2 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 20 Dec 2006 21:58:51 +0000 Subject: [PATCH] Hide deleted histories so everything looks like the previous version. --- templates/history_available.tmpl | 8 +++----- templates/history_switch.tmpl | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/history_available.tmpl b/templates/history_available.tmpl index 5a25b48a978..f221942c6ba 100644 --- a/templates/history_available.tmpl +++ b/templates/history_available.tmpl @@ -54,11 +54,8 @@ function OnSubmitForm() #for $history in $user.histories - #set $c = "" - #if $history.deleted - #set $c = "history_row_deleted" - #end if - + #if not( $history.deleted ) + + #end if #end for diff --git a/templates/history_switch.tmpl b/templates/history_switch.tmpl index 772a25c5980..544249b75eb 100644 --- a/templates/history_switch.tmpl +++ b/templates/history_switch.tmpl @@ -24,7 +24,9 @@
NameSizeLast modifiedActions
delete
Action
Share Rename Delete
#for $history in $user.histories: + #if not( $history.deleted ) + #end if #end for
Name# datasetscreated
$history.name ${len(history.datasets)}$history.create_timeswitch to
#else