Commit 6fa2140f authored by Jérome Perrin's avatar Jérome Perrin

simulation: don't put divergence description between ()

Using an em html tag is enough to have to display the explanation
message differently, not need to wrap it in paranthesis, which does not
look so good in some languages.
parent b6385d9c
...@@ -3,6 +3,6 @@ from Products.PythonScripts.standard import html_quote ...@@ -3,6 +3,6 @@ from Products.PythonScripts.standard import html_quote
# even if we have several divergence testers, the first # even if we have several divergence testers, the first
# one is enough for displaying the title. # one is enough for displaying the title.
tester = context.getCausalityValue() tester = context.getCausalityValue()
return '<div>%s</div><div><em>(%s)</em></div>' % ( return '<div>%s</div><div><em>%s</em></div>' % (
html_quote(tester.getTranslatedTitle()), html_quote(tester.getTranslatedTitle()),
context.getExplanationMessage()) context.getExplanationMessage())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment