Move direct controller direct view calls to route/web, add global $server to use in views, negating the need to use config('server')
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<div class="h5 modal-title text-center">
|
||||
<h4 class="mt-2">
|
||||
<div class="app-logo mx-auto mb-3"><img class="w-75" src="{{ url('images/logo-h-lg.png') }}"></div>
|
||||
<small>@lang('Sign in to') <strong>{{ config('server')->name }}</strong></small>
|
||||
<small>@lang('Sign in to') <strong>{{ $server->name }}</strong></small>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
|
@@ -32,7 +32,7 @@
|
||||
<div class="scrollbar-sidebar">
|
||||
<div class="app-sidebar__inner">
|
||||
<ul class="vertical-nav-menu">
|
||||
<li class="app-sidebar__heading">{{ config('server')->name }}</li>
|
||||
<li class="app-sidebar__heading">{{ $server->name }}</li>
|
||||
<li>
|
||||
<i id="treeicon" class="metismenu-icon fa-fw fas fa-sitemap"></i>
|
||||
<span class="f16" id="tree"></span>
|
||||
|
Reference in New Issue
Block a user