Show version in the footer

This commit is contained in:
Deon George 2023-02-18 00:10:38 +11:00
parent cb55a660e5
commit 651fb9f3bf
3 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
RELEASE-1.2.4

View File

@ -17,7 +17,7 @@ return [
'name' => 'PLA', 'name' => 'PLA',
'name_html_long' => '<b>php</b>LDAPadmin', 'name_html_long' => '<b>php</b>LDAPadmin',
'version' => trim(file_get_contents(__DIR__.'/../public/VERSION')), 'version' => (trim(file_get_contents(__DIR__.'/../public/VERSION')) ?? 'UNKNOWN').'-'.(trim(file_get_contents(__DIR__.'/../VERSION')) ?? 'UNKNOWN'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@ -3,6 +3,9 @@
<div class="app-footer__inner"> <div class="app-footer__inner">
<div class="app-footer-left"> <div class="app-footer-left">
<ul class="nav"> <ul class="nav">
<li>
<strong>{{ config('app.version') }}</strong>
</li>
{{-- {{--
<li class="nav-item"> <li class="nav-item">
<a href="javascript:void(0);" class="nav-link">Footer Link</a> <a href="javascript:void(0);" class="nav-link">Footer Link</a>