2016-07-21 22:01:57 +08:00
|
|
|
@extends('user.master')
|
|
|
|
|
2016-09-15 23:03:58 +08:00
|
|
|
@section('title', trans('general.profile'))
|
2016-07-21 22:01:57 +08:00
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<!-- Content Wrapper. Contains page content -->
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<!-- Content Header (Page header) -->
|
|
|
|
<section class="content-header">
|
|
|
|
<h1>
|
2018-07-17 11:06:55 +08:00
|
|
|
@lang('general.profile')
|
2016-07-21 22:01:57 +08:00
|
|
|
</h1>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Main content -->
|
2018-08-02 17:29:43 +08:00
|
|
|
<section class="content"></section><!-- /.content -->
|
2016-07-21 22:01:57 +08:00
|
|
|
</div><!-- /.content-wrapper -->
|
|
|
|
|
2018-08-02 17:29:43 +08:00
|
|
|
<script>
|
2018-09-09 09:28:05 +08:00
|
|
|
Object.defineProperty(blessing, 'extra', {
|
|
|
|
configurable: false,
|
|
|
|
get: () => Object.freeze({
|
2018-08-17 12:32:44 +08:00
|
|
|
admin: {{ (string) $user->isAdmin() ?: 'false' }},
|
|
|
|
unverified: {{ option('require_verification') && !$user->verified ? 'true' : 'false' }}
|
2018-08-03 16:30:34 +08:00
|
|
|
}),
|
|
|
|
})
|
2018-08-02 17:29:43 +08:00
|
|
|
</script>
|
2016-07-21 22:01:57 +08:00
|
|
|
@endsection
|