only show version number when on dev branch
This commit is contained in:
parent
c973774ac1
commit
8b2aacb927
1 changed files with 3 additions and 3 deletions
|
@ -403,9 +403,9 @@
|
|||
<strong>Copyright © 2021-{{ date('Y') }} <a
|
||||
href="{{ url('/') }}">{{ env('APP_NAME', 'Laravel') }}</a>.</strong>
|
||||
All rights
|
||||
reserved. Powered by <a href="https://controlpanel.gg">ControlPanel</a>. Version
|
||||
@if(config("BRANCHNAME") != "main")
|
||||
<b>{{ config('app')['version'] }} - {{config("BRANCHNAME")}}</b>
|
||||
reserved. Powered by <a href="https://controlpanel.gg">ControlPanel</a>.
|
||||
@if(!str_contains(config("BRANCHNAME"),"main"))
|
||||
Version <b>{{ config('app')['version'] }} - {{config("BRANCHNAME")}}</b>
|
||||
@endif
|
||||
</footer>
|
||||
|
||||
|
|
Loading…
Reference in a new issue