blessing-skin-server/resources/views/user/profile.blade.php
2018-09-09 09:28:05 +08:00

30 lines
770 B
PHP

@extends('user.master')
@section('title', trans('general.profile'))
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
@lang('general.profile')
</h1>
</section>
<!-- Main content -->
<section class="content"></section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script>
Object.defineProperty(blessing, 'extra', {
configurable: false,
get: () => Object.freeze({
admin: {{ (string) $user->isAdmin() ?: 'false' }},
unverified: {{ option('require_verification') && !$user->verified ? 'true' : 'false' }}
}),
})
</script>
@endsection