details: http://www.bx.psu.edu/hg/galaxy/rev/6e592c876f4d changeset: 1571:6e592c876f4d user: Nate Coraor nate@bx.psu.edu date: Thu Oct 23 15:02:23 2008 -0400 description: When creating display links, use url_for to add the proxy prefix, if any.
1 file(s) affected in this change:
templates/root/history_common.mako
diffs (12 lines):
diff -r 3e391f7192f6 -r 6e592c876f4d templates/root/history_common.mako --- a/templates/root/history_common.mako Wed Oct 22 14:37:28 2008 -0400 +++ b/templates/root/history_common.mako Thu Oct 23 15:02:23 2008 -0400 @@ -67,7 +67,7 @@ %if data.has_data: <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 ) %> + <% display_links = data.datatype.get_display_links( data, display_app, app, request.base + h.url_for() ) %> %if len( display_links ) > 0: | ${data.datatype.get_display_label(display_app)} %for display_name, display_link in display_links:
galaxy-dev@lists.galaxyproject.org