From 4a670aaa3d121834685a672acc904f9824721824 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 19 Apr 2016 13:07:43 +0100 Subject: Help dialog; better formatting of command names. This needs more work. --- background_scripts/main.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 9689dd79..23b7ab48 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -124,8 +124,9 @@ helpDialogHtmlForCommand = (html, isAdvanced, bindings, description, showCommand html.push "" if description html.push "#{bindings}" - html.push "", description - html.push("(#{command})") if showCommandNames + html.push "", + "#{description}#{if showCommandNames then ":" else ""}" + html.push("#{command}") if showCommandNames else html.push "", bindings html.push("") -- cgit v1.2.3