Clearer version in footer

This commit is contained in:
snipe 2016-07-21 21:39:23 -07:00
parent 2e6e0e8911
commit e256bdc9f7
3 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ class Versioning extends Command
// discard the commit hash
$version = explode('-', $hash_version);
$realVersion = $version[0] . '-' . $version[1];
$realVersion = $version[0];
// save the version array to a variable
$array = var_export(array('app_version' => $realVersion,'hash_version' => $hash_version), true);

View file

@ -1,5 +1,5 @@
<?php
return array (
'app_version' => 'v3.0-12',
'hash_version' => 'v3.0-12-gb0dc5b4',
'app_version' => 'v3.0',
'hash_version' => 'v3.0-13-g2e6e0e8',
);

View file

@ -522,7 +522,7 @@
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> {{ config('version.app_version') }}
<b>Version</b> {{ config('version.hash_version') }}
<a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it.readme.io">Documentation</a>
<a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it-manual.readme.io">User's Manual</a>
<a target="_blank" class="btn btn-default btn-xs" href="https://snipeitapp.com/support/">Report a Bug</a>