Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp into master
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
@csrf
|
||||
@method("put")
|
||||
|
||||
@if(\App\Resource::query()->where("resource_id", "=",Auth::user()->resource_id)->first() != null)
|
||||
<img style="width: calc(100% - 72px); margin: auto;" src="{{ \App\Resource::query()->where("resource_id", "=",Auth::user()->resource_id)->first()->filename }}">
|
||||
@if(\App\Resource::query()->where("id", "=", Auth::user()->resource_id)->first() !== null)
|
||||
<img style="width: calc(100% - 72px); margin: auto;" src="{{ \App\Resource::query()->where("id", "=",Auth::user()->resource_id)->first()->filename }}">
|
||||
@else
|
||||
@if(request()->cookie("mode") == "dark")
|
||||
<img style="width: calc(100% - 72px); margin: auto;" src="{{ asset("/images/icons/user-hvid.svg") }}">
|
||||
|
||||
Reference in New Issue
Block a user