Hi Shantanu Sorry, for replying so late (I am working down a pile of e-mails which accumulated during my holidays). I have just implemented your suggested changes in our dev server. It is brilliant - Thank you very much! I will do it for our production server within the next few days. Regards, Hans On 10/20/2011 08:19 PM, Shantanu Pavgi wrote:
I am trying to display dataset paths in the UI when user clicks on the 'view details' icon in the history panel. I was able to display it by adding 'hda.file_name' field in the show_params.mako template file and it seems to be working. Following is a diff for it:
{{{ diff --git a/templates/show_params.mako b/templates/show_params.mako index 9f7ad36..58d8108 100644 --- a/templates/show_params.mako +++ b/templates/show_params.mako @@ -50,6 +50,8 @@ <tr><td>Dbkey:</td><td>${hda.dbkey}</td></tr> <tr><td>Format:</td><td>${hda.ext}</td></tr> <tr><td>Tool Version:</td><td>${hda.tool_version}</td></tr> +<tr><td>Dataset ID:</td><td>${hda.dataset_id}</td></tr> +<tr><td>Dataset Path:</td><td>${hda.file_name}</td></tr> </table> <br /> <table class="tabletip"> }}}
It doesn't display any metadata files associated with the dataset. I guess it will need some more changes in the datasets controller to return metadata file paths to this template. But, are these right places to make changes for displaying dataset paths or are there any other files/modules that should be modified? Any comments or suggestions for implementing this will be really helpful.
-- Thanks, Shantanu.
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: