diff --git a/public_html/deployment/inc_functions.php b/public_html/deployment/inc_functions.php index 8feadf67a04cb16dfcc3968a90bcb0ec33844806..d257bc962f92b083b94303dc5dc17590097c34be 100644 --- a/public_html/deployment/inc_functions.php +++ b/public_html/deployment/inc_functions.php @@ -100,8 +100,8 @@ function getTopArea() { $sJsonfile = $_SERVER["DOCUMENT_ROOT"] . "ci-webgui.json"; if (file_exists($sJsonfile)) { $aJson = json_decode(file_get_contents($sJsonfile), true); - if (array_key_exists("revision", $aJson)) - $sMyRev = $aJson["revision"]; + if (array_key_exists("date", $aJson)) + $sMyRev = $aJson["date"]; } $sPhase = '(unknown)'; $aPhases = array( @@ -116,7 +116,7 @@ function getTopArea() { $sWikiBaseUrl = 'https://secure.iml.unibe.ch/wiki/doku.php'; $sReturn = ' <div class="navbar"> - <span class="version ' . $sPhase . '">' . $sPhase . ' . ' . $sMyRev . '</span> + <span class="version ' . $sPhase . '">' . $sPhase . ' :: ' . $sMyRev . '</span> <div class="navbar-inner"> <span class="brand">IML Deployment GUI</span> <ul class="nav">