mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Change to always display branch and commit hash on 'Help & Info' page
This commit is contained in:
parent
02163c13a9
commit
d71361f435
2 changed files with 6 additions and 18 deletions
|
@ -94,6 +94,7 @@
|
|||
* Fix failure to search for more than one selected wanted episode
|
||||
* Add notice for users with Python 2.7.8 or below to update to latest Python
|
||||
* Change position of parsed qualities to the start of log lines
|
||||
* Change to always display branch and commit hash on 'Help & Info' page
|
||||
|
||||
[develop changelog]
|
||||
* Enable Alpha Ratio again now that the secure login page over https is fixed
|
||||
|
|
|
@ -8,36 +8,23 @@
|
|||
#set global $sbPath = '..'
|
||||
#set global $topmenu = 'config'
|
||||
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
|
||||
|
||||
##
|
||||
#if $varExists('header')
|
||||
<h1 class='header'>$header</h1>
|
||||
#else
|
||||
<h1 class='title'>$title</h1>
|
||||
#end if
|
||||
|
||||
##set cpu_usage = $psutil.cpu_percent()
|
||||
##set ram = $psutil.phymem_usage()
|
||||
##set ram_total = $ram.total / 2**20
|
||||
##set ram_used = $ram.used / 2**20
|
||||
##set ram_free = $ram.free / 2**20
|
||||
##set ram_percent_used = $ram.percent
|
||||
##set disk = $psutil.disk_usage('/')
|
||||
##set disk_total = $disk.total / 2**30
|
||||
##set disk_used = $disk.used / 2**30
|
||||
##set disk_free = $disk.free / 2**30
|
||||
##set disk_percent_used = $disk.percent
|
||||
##
|
||||
<div id="config-content">
|
||||
<table class="infoTable" cellspacing="1" border="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td class="infoTableHeader">Version: </td>
|
||||
<td class="infoTableCell">
|
||||
#if $sickbeard.VERSION_NOTIFY
|
||||
BRANCH: ($sickbeard.BRANCH) / COMMIT: ($sickbeard.CUR_COMMIT_HASH) <!-- – build.date //--><br />
|
||||
#else
|
||||
You don't have version checking turned on, see "Check software updates" in Config > General.<br />
|
||||
BRANCH: #echo $sickbeard.BRANCH or 'UNKNOWN'# / COMMIT: #echo $sickbeard.CUR_COMMIT_HASH or 'UNKNOWN'#<br />
|
||||
<em class="red-text">This is BETA software</em><br />
|
||||
#if not $sickbeard.VERSION_NOTIFY:
|
||||
You don't have version checking turned on, see "Check software updates" in Config > General.
|
||||
#end if
|
||||
<em class="red-text">This is BETA software.</em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="infoTableHeader">Config file:</td><td class="infoTableCell">$sickbeard.CONFIG_FILE</td></tr>
|
||||
|
|
Loading…
Reference in a new issue