Fix more unicode issues when listing and running workflows.

This commit is contained in:
Jeremy Goecks
2010-10-20 16:10:37 -04:00
parent 760785bd95
commit b43ff3d153
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;">&#9660;</a>
</td>
<td>${len(workflow.latest_workflow.steps)}</td>
+3 -3
View File
@@ -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>