[hg] galaxy 1492: Fix for save link of history items.

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|

[hg] galaxy 1492: Fix for save link of history items.

greg
details:   http://www.bx.psu.edu/hg/galaxy/rev/d7e7804572fd
changeset: 1492:d7e7804572fd
user:      Dan Blankenberg <[hidden email]>
date:      Thu Sep 04 12:19:32 2008 -0400
description:
Fix for save link of history items.

1 file(s) affected in this change:

templates/root/history_common.mako

diffs (12 lines):

diff -r 9b8d06eea5b7 -r d7e7804572fd templates/root/history_common.mako
--- a/templates/root/history_common.mako Wed Sep 03 12:06:33 2008 -0400
+++ b/templates/root/history_common.mako Thu Sep 04 12:19:32 2008 -0400
@@ -57,7 +57,7 @@
                 <div class="info">Info: ${data.display_info()} </div>
                 <div>
                     %if data.has_data:
-                        <a href="${h.url_for( action='display', id=data.id, tofile='yes', toext='data.ext' )}" target="_blank">save</a>
+                        <a href="${h.url_for( action='display', id=data.id, tofile='yes', toext=data.ext )}" target="_blank">save</a>
                         %for display_app in data.datatype.get_display_types():
                             <% display_links = data.datatype.get_display_links( data, display_app, app, request.base ) %>
                             %if len( display_links ) > 0: