mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix more unicode issues when listing and running workflows.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
%for i, workflow in enumerate( workflows ):
|
||||
<tr>
|
||||
<td>
|
||||
<a href="${h.url_for( action='run', id=trans.security.encode_id(workflow.id) )}">${workflow.name}</a>
|
||||
<a href="${h.url_for( action='run', id=trans.security.encode_id(workflow.id) )}">${h.to_unicode( workflow.name )}</a>
|
||||
<a id="wf-${i}-popup" class="popup-arrow" style="display: none;">▼</a>
|
||||
</td>
|
||||
<td>${len(workflow.latest_workflow.steps)}</td>
|
||||
|
||||
@@ -119,7 +119,7 @@ from galaxy.jobs.actions.post import ActionBox
|
||||
</div>
|
||||
</%def>
|
||||
|
||||
<h2>Running workflow "${workflow.name}"</h2>
|
||||
<h2>Running workflow "${h.to_unicode( workflow.name )}"</h2>
|
||||
|
||||
%if has_upgrade_messages:
|
||||
<div class="warningmessage">
|
||||
@@ -130,7 +130,7 @@ from galaxy.jobs.actions.post import ActionBox
|
||||
%endif
|
||||
|
||||
<form id="tool_form" name="tool_form" method="POST">
|
||||
## <input type="hidden" name="workflow_name" value="${workflow.name | h}" />
|
||||
## <input type="hidden" name="workflow_name" value="${h.to_unicode( workflow.name ) | h}" />
|
||||
%for i, step in enumerate( steps ):
|
||||
%if step.type == 'tool' or step.type is None:
|
||||
<% tool = app.toolbox.tools_by_id[step.tool_id] %>
|
||||
@@ -153,7 +153,7 @@ from galaxy.jobs.actions.post import ActionBox
|
||||
% if step.annotations:
|
||||
<hr/>
|
||||
<div class='form-row'>
|
||||
<label>Annotation:</label> ${step.annotations[0].annotation}
|
||||
<label>Annotation:</label> ${h.to_unicode( step.annotations[0].annotation )}
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user