From 0d0ac196c2249551252e1444d94cd8d6f577ca74 Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 11 Jul 2012 23:59:47 +0200 Subject: [PATCH] Properly show update message --- couchpotato/core/_base/updater/static/updater.js | 2 ++ couchpotato/static/style/main.css | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/_base/updater/static/updater.js b/couchpotato/core/_base/updater/static/updater.js index df6cf351..9f51b0cb 100644 --- a/couchpotato/core/_base/updater/static/updater.js +++ b/couchpotato/core/_base/updater/static/updater.js @@ -62,6 +62,8 @@ var UpdaterBase = new Class({ createMessage: function(data){ var self = this; + if(self.message) return; + var changelog = 'https://github.com/'+data.repo_name+'/compare/'+data.version.hash+'...'+data.branch; if(data.update_version.changelog) changelog = data.update_version.changelog + '#' + data.version.hash+'...'+data.update_version.hash diff --git a/couchpotato/static/style/main.css b/couchpotato/static/style/main.css index 17ca8bfe..183374b9 100644 --- a/couchpotato/static/style/main.css +++ b/couchpotato/static/style/main.css @@ -315,7 +315,7 @@ body > .spinner, .mask{ .header .message.update { text-align: center; position: relative; - top: -100px; + top: -70px; padding: 2px 0; background: #ff6134; font-size: 12px;