From b43ff3d153e4927907eed8524fe436b75e6a491f Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Wed, 20 Oct 2010 16:10:37 -0400 Subject: [PATCH] Fix more unicode issues when listing and running workflows. --- templates/workflow/list_for_run.mako | 2 +- templates/workflow/run.mako | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/workflow/list_for_run.mako b/templates/workflow/list_for_run.mako index a829b5d66d1..6b699fb4e75 100644 --- a/templates/workflow/list_for_run.mako +++ b/templates/workflow/list_for_run.mako @@ -36,7 +36,7 @@ %for i, workflow in enumerate( workflows ): - ${workflow.name} + ${h.to_unicode( workflow.name )} ${len(workflow.latest_workflow.steps)} diff --git a/templates/workflow/run.mako b/templates/workflow/run.mako index a24f0f5eeff..3bf8fd39c80 100644 --- a/templates/workflow/run.mako +++ b/templates/workflow/run.mako @@ -119,7 +119,7 @@ from galaxy.jobs.actions.post import ActionBox -

Running workflow "${workflow.name}"

+

Running workflow "${h.to_unicode( workflow.name )}"

%if has_upgrade_messages:
@@ -130,7 +130,7 @@ from galaxy.jobs.actions.post import ActionBox %endif
-## +## %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:
- ${step.annotations[0].annotation} + ${h.to_unicode( step.annotations[0].annotation )}
% endif