diff --git a/src/_locales/en_US/messages.json b/src/_locales/en_US/messages.json index 33febe9da9..00c5ad6962 100644 --- a/src/_locales/en_US/messages.json +++ b/src/_locales/en_US/messages.json @@ -295,6 +295,8 @@ }, "donate_to_eff": { "message": "Donate to EFF" + }, + "version": { + "message": "version" } - } diff --git a/src/js/popup.js b/src/js/popup.js index 820ff7d375..d58b3d725f 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -103,6 +103,9 @@ function init() { $("#deactivate_site_btn").hide(); } }); + + var version = i18n.getMessage("version") + " " + chrome.runtime.getManifest().version; + $("#version").text(version); } $(init); diff --git a/src/skin/popup.css b/src/skin/popup.css index ba8bc757a6..b9bf14ed3d 100644 --- a/src/skin/popup.css +++ b/src/skin/popup.css @@ -164,10 +164,11 @@ color: #505050; font-size: 16px; } #privacyBadgerHeader h2{ - margin: 10px; + margin: 5px; + padding-left: 5px; float: left; color: #707070; - font-size: 26px; + font-size: 24px; font-weight: normal; font-family: helvetica, arial, 'Lucida Grande', 'Segoe UI', Tahoma, 'DejaVu Sans', sans-serif;; } @@ -284,6 +285,7 @@ font-size: 16px; #pbInstructions{ color: #505050; font-size: 16px; + padding-top: 10px; margin: 0; } @@ -378,3 +380,11 @@ font-size: 16px; #siteControls button { font-size: 12px; } + +#version{ + float: left; + margin-top: -15px; + padding-left: 60px; + color: #707070; + font-size: 10px; +} diff --git a/src/skin/popup.html b/src/skin/popup.html index 6a34785445..107b8e920b 100644 --- a/src/skin/popup.html +++ b/src/skin/popup.html @@ -64,8 +64,9 @@

-

+

+