mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix to 4a61a4c: add hids for dataset inputs
This commit is contained in:
+15
-14
@@ -65,20 +65,21 @@
|
||||
${inputs_recursive_indent( text=input.label, depth=depth )}
|
||||
<td>
|
||||
%for i, element in enumerate(listify(param_values[input.name])):
|
||||
%if i > 0:
|
||||
,
|
||||
%endif
|
||||
%if element.history_content_type == "dataset":
|
||||
<%
|
||||
hda = element
|
||||
encoded_id = trans.security.encode_id( hda.id )
|
||||
show_params_url = h.url_for( controller='dataset', action='show_params', dataset_id=encoded_id )
|
||||
%>
|
||||
<a class="input-dataset-show-params" data-hda-id="${encoded_id}"
|
||||
href="${show_params_url}">${hda.name | h}</a>
|
||||
%else:
|
||||
${element.hid}: ${element.name | h}
|
||||
%endif
|
||||
%if i > 0:
|
||||
,
|
||||
%endif
|
||||
%if element.history_content_type == "dataset":
|
||||
<%
|
||||
hda = element
|
||||
encoded_id = trans.security.encode_id( hda.id )
|
||||
show_params_url = h.url_for( controller='dataset', action='show_params', dataset_id=encoded_id )
|
||||
%>
|
||||
<a class="input-dataset-show-params" data-hda-id="${encoded_id}"
|
||||
href="${show_params_url}">${hda.hid}: ${hda.name | h}</a>
|
||||
|
||||
%else:
|
||||
${element.hid}: ${element.name | h}
|
||||
%endif
|
||||
%endfor
|
||||
</td>
|
||||
<td></td>
|
||||
|
||||
Reference in New Issue
Block a user