From c1a94a80815ea619ae01977c0e30e53113bb4a9e Mon Sep 17 00:00:00 2001
From: Phil Crosby
Date: Sun, 7 Mar 2010 17:31:32 -0800
Subject: Display the current version in the help dialog. Hide link to
homepage.
---
background_page.html | 1 +
helpDialog.html | 7 +++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/background_page.html b/background_page.html
index ab76e59e..082c38ea 100644
--- a/background_page.html
+++ b/background_page.html
@@ -161,6 +161,7 @@
for (var group in commandGroups)
dialogHtml = dialogHtml.replace("{{" + group + "}}",
helpDialogHtmlForCommandGroup(group, commandsToKey, availableCommands));
+ dialogHtml = dialogHtml.replace("{{version}}", currentVersion);
return dialogHtml;
}
diff --git a/helpDialog.html b/helpDialog.html
index 856663f1..652c2f91 100644
--- a/helpDialog.html
+++ b/helpDialog.html
@@ -65,7 +65,7 @@
cursor:default;
-webkit-user-select:none;
}
- #vimiumHelpDialogFooter { font-size:9px; }
+ #vimiumHelpDialogFooter { font-size:10px; }
- Version 1.1
- Homepage
+ Version {{version}}
+
\ No newline at end of file
--
cgit v1.2.3