mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Clearer version in footer
This commit is contained in:
parent
2e6e0e8911
commit
e256bdc9f7
|
@ -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);
|
||||
|
|
|
@ -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',
|
||||
);
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue