From 4bc40a3218e1a50dd58ff89c741427783c7a73d0 Mon Sep 17 00:00:00 2001 From: Benjamin Runnels Date: Mon, 17 Dec 2012 08:27:48 -0600 Subject: [PATCH] Fixed a hardcoded url to AdeHub github in update check message. Created new GIT_USER and GIT_BRANCH globals and config options. Moved hardcoded user and branch variables to globals in versioncheck. --- data/interfaces/default/base.html | 24 +-- headphones/__init__.py | 246 +++++++++++++++--------------- headphones/versioncheck.py | 109 +++++++------ 3 files changed, 191 insertions(+), 188 deletions(-) diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index 152f9311..783f4f36 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -11,19 +11,19 @@ - + Headphones - ${title} - + - + ${next.headIncludes()} - + @@ -31,16 +31,16 @@
% if not headphones.CURRENT_VERSION:
- You're running an unknown version of Headphones. Update or + You're running an unknown version of Headphones. Update or Close
% elif headphones.CURRENT_VERSION != headphones.LATEST_VERSION and headphones.INSTALL_TYPE != 'win':
- A newer version is available. You're ${headphones.COMMITS_BEHIND} commits behind. Update or Close + A newer version is available. You're ${headphones.COMMITS_BEHIND} commits behind. Update or Close
% endif - -
+ +
- +
@@ -91,16 +91,16 @@ %if version.HEADPHONES_VERSION != 'master': (${version.HEADPHONES_VERSION}) %endif - + Back to top - + ${next.javascriptIncludes()} - +