mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 05:31:04 +08:00
Hide deleted histories so everything looks like the previous version.
This commit is contained in:
@@ -54,11 +54,8 @@ function OnSubmitForm()
|
||||
<table class="colored" border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr class="header" align="center"><td>Name</td><td>Size</td><td>Last modified</td><td>Actions</td></tr>
|
||||
#for $history in $user.histories
|
||||
#set $c = ""
|
||||
#if $history.deleted
|
||||
#set $c = "history_row_deleted"
|
||||
#end if
|
||||
<tr class="$c">
|
||||
#if not( $history.deleted )
|
||||
<tr>
|
||||
<td><input type=checkbox name="id" value="$history.id"
|
||||
#if $str($history.id) in $ids:
|
||||
checked
|
||||
@@ -76,6 +73,7 @@ function OnSubmitForm()
|
||||
<a href="/history_delete?id=$history.id" onclick="confirm_click('/history_delete?id=$history.id');return false;">delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
#end if
|
||||
#end for
|
||||
<tr><th colspan="100%">Action</th></tr>
|
||||
<tr><td colspan="100%" align="center"><input type="radio" name="operation" value="1" checked>Share <input type="radio" name="operation" value="2">Rename <input type="radio" name="operation" value="3">Delete </td></tr>
|
||||
|
||||
@@ -24,7 +24,9 @@
|
||||
<table class="colored" border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr class="header"><td>Name</td><td># datasets<td>created</td><td></td></tr>
|
||||
#for $history in $user.histories:
|
||||
#if not( $history.deleted )
|
||||
<tr><td>$history.name </td><td>${len(history.datasets)}<td>$history.create_time</td><td><a href="history_switch?id=$history.id">switch to</a></td></tr>
|
||||
#end if
|
||||
#end for
|
||||
</table>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user