commit/galaxy-central: dan: Fix for generating stderr/stdout links in hda show_params.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/2cfc5c8223ef/ Changeset: 2cfc5c8223ef User: dan Date: 2013-04-09 18:26:05 Summary: Fix for generating stderr/stdout links in hda show_params. Affected #: 1 file diff -r 95bf71620d50c6d81248eef2001a7dc156ae1088 -r 2cfc5c8223ef102c320472cb84f197ca28a064d6 templates/show_params.mako --- a/templates/show_params.mako +++ b/templates/show_params.mako @@ -105,6 +105,9 @@ </th></tr></thead><tbody> + <% + encoded_hda_id = trans.security.encode_id( hda.id ) + %><tr><td>Name:</td><td>${hda.name | h}</td></tr><tr><td>Created:</td><td>${hda.create_time.strftime("%b %d, %Y")}</td></tr> ## <tr><td>Copied from another history?</td><td>${hda.source_library_dataset}</td></tr> @@ -113,10 +116,10 @@ <tr><td>Format:</td><td>${hda.ext | h}</td></tr><tr><td>Galaxy Tool Version:</td><td>${job.tool_version | h}</td></tr><tr><td>Tool Version:</td><td>${hda.tool_version | h}</td></tr> - <tr><td>Tool Standard Output:</td><td><a href="${h.url_for( controller='dataset', action='stdout')}">stdout</a></td></tr> - <tr><td>Tool Standard Error:</td><td><a href="${h.url_for( controller='dataset', action='stderr')}">stderr</a></td></tr> + <tr><td>Tool Standard Output:</td><td><a href="${h.url_for( controller='dataset', action='stdout', dataset_id=encoded_hda_id )}">stdout</a></td></tr> + <tr><td>Tool Standard Error:</td><td><a href="${h.url_for( controller='dataset', action='stderr', dataset_id=encoded_hda_id )}">stderr</a></td></tr><tr><td>Tool Exit Code:</td><td>${job.exit_code | h}</td></tr> - <tr><td>API ID:</td><td>${trans.security.encode_id(hda.id)}</td></tr> + <tr><td>API ID:</td><td>${encoded_hda_id}</td></tr> %if trans.user_is_admin() or trans.app.config.expose_dataset_path: <tr><td>Full Path:</td><td>${hda.file_name | h}</td></tr> %endif Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org