diff options
| author | Phil Crosby | 2010-03-07 17:31:32 -0800 |
|---|---|---|
| committer | Phil Crosby | 2010-03-07 22:50:32 -0800 |
| commit | c1a94a80815ea619ae01977c0e30e53113bb4a9e (patch) | |
| tree | 1774faf63e855931043e1df0e4d99f731b6d6a87 | |
| parent | fea74e5cef3ccbfb2c3c581b289f02cd8d8a0a05 (diff) | |
| download | vimium-c1a94a80815ea619ae01977c0e30e53113bb4a9e.tar.bz2 | |
Display the current version in the help dialog. Hide link to homepage.
| -rw-r--r-- | background_page.html | 1 | ||||
| -rw-r--r-- | 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; } </style> <!-- Note that the template placeholders (e.g. "pageNavigation") will be filled in by the background @@ -97,9 +97,8 @@ Found a bug? <a href="http://github.com/philc/vimium/issues">Report it here</a>. </div> <div class="vimiumColumn" style="text-align:right"> - <!-- TODO(philc): Replace with real version --> - <span>Version 1.1</span><br/> - <a href="#">Homepage</a> + <span>Version {{version}}</span><br/> + <!-- <a href="#">Homepage</a> --> </div> </div> </div>
\ No newline at end of file |
