From eb7a99edb03d8eca258df59fb6b4231dcdb42eb1 Mon Sep 17 00:00:00 2001 From: Sebastian Kapust Date: Tue, 15 May 2018 15:28:30 +0200 Subject: [PATCH 1/2] Make workflow editor toolTitle link include the tools description Include the tools description in the toolTitle link to increase the clickable area. Style similar to how the toolMenu is handled outside the workflow editor. --- templates/webapps/galaxy/workflow/editor.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webapps/galaxy/workflow/editor.mako b/templates/webapps/galaxy/workflow/editor.mako index 6cb90c66716..860825afd02 100644 --- a/templates/webapps/galaxy/workflow/editor.mako +++ b/templates/webapps/galaxy/workflow/editor.mako @@ -208,7 +208,7 @@ %if "[[" in tool.description and "]]" in tool.description: ${tool.description.replace( '[[', '' % tool.id ).replace( "]]", "" )} %elif tool.name: - ${tool.name | h} ${tool.description} + "${tool.name | h} ${tool.description} %else: ${tool.description} %endif From 46ebdce0adc0ba3f28cd268605d8406bbffca9dd Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 11 Jun 2018 08:16:39 -0400 Subject: [PATCH 2/2] Remove stray doublequote (which was showing up in the link) --- templates/webapps/galaxy/workflow/editor.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webapps/galaxy/workflow/editor.mako b/templates/webapps/galaxy/workflow/editor.mako index 860825afd02..d103425c317 100644 --- a/templates/webapps/galaxy/workflow/editor.mako +++ b/templates/webapps/galaxy/workflow/editor.mako @@ -208,7 +208,7 @@ %if "[[" in tool.description and "]]" in tool.description: ${tool.description.replace( '[[', '' % tool.id ).replace( "]]", "" )} %elif tool.name: - "${tool.name | h} ${tool.description} + ${tool.name | h} ${tool.description} %else: ${tool.description} %endif