mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
Revert the php codeblock and replace it with a ternary
This commit is contained in:
parent
d7c531e1c7
commit
d622dbb943
|
@ -1,11 +1,8 @@
|
||||||
@extends('layouts/default')
|
@extends('layouts/default')
|
||||||
@php
|
|
||||||
!empty($user) ? $full_name = $user->present()->full_name : $full_name = '';
|
|
||||||
@endphp
|
|
||||||
|
|
||||||
{{-- Page title --}}
|
{{-- Page title --}}
|
||||||
@section('title')
|
@section('title')
|
||||||
{{ trans('general.accept_assets', array('name' => $full_name)) }}
|
{{ trans('general.accept_assets', array('name' => empty($user) ? '' : $user->present()->full_name)) }}
|
||||||
@parent
|
@parent
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue