9 changed files with 42 additions and 32 deletions
-
4resources/lang/en/app.php
-
1resources/lang/en/user.php
-
4resources/lang/id/app.php
-
1resources/lang/id/user.php
-
12resources/views/users/partials/childs.blade.php
-
30resources/views/users/partials/parent-spouse.blade.php
-
18resources/views/users/partials/profile.blade.php
-
2resources/views/users/partials/siblings.blade.php
-
2resources/views/users/show.blade.php
@ -1,43 +1,43 @@ |
|||||
<div class="panel panel-default"> |
<div class="panel panel-default"> |
||||
<div class="panel-heading"><h3 class="panel-title">Profil</h3></div> |
|
||||
|
<div class="panel-heading"><h3 class="panel-title">{{ trans('user.profile') }}</h3></div> |
||||
<table class="table"> |
<table class="table"> |
||||
<tbody> |
<tbody> |
||||
<tr> |
<tr> |
||||
<th class="col-sm-4">Nama</th> |
|
||||
|
<th class="col-sm-4">{{ trans('user.name') }}</th> |
||||
<td class="col-sm-8"> |
<td class="col-sm-8"> |
||||
{{ $user->profileLink() }} |
{{ $user->profileLink() }} |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
<tr> |
<tr> |
||||
<th>Nama Panggilan</th> |
|
||||
|
<th>{{ trans('user.nickname') }}</th> |
||||
<td>{{ $user->nickname }}</td> |
<td>{{ $user->nickname }}</td> |
||||
</tr> |
</tr> |
||||
<tr> |
<tr> |
||||
<th>Jenis Kelamin</th> |
|
||||
|
<th>{{ trans('user.gender') }}</th> |
||||
<td>{{ $user->gender }}</td> |
<td>{{ $user->gender }}</td> |
||||
</tr> |
</tr> |
||||
<tr> |
<tr> |
||||
<th>Tanggal Lahir</th> |
|
||||
|
<th>{{ trans('user.dob') }}</th> |
||||
<td>{{ $user->dob }}</td> |
<td>{{ $user->dob }}</td> |
||||
</tr> |
</tr> |
||||
@if ($user->dod) |
@if ($user->dod) |
||||
<tr> |
<tr> |
||||
<th>Meninggal</th> |
|
||||
|
<th>{{ trans('user.dod') }}</th> |
||||
<td>{{ $user->dod }}</td> |
<td>{{ $user->dod }}</td> |
||||
</tr> |
</tr> |
||||
@endif |
@endif |
||||
@if ($user->email) |
@if ($user->email) |
||||
<tr> |
<tr> |
||||
<th>Email</th> |
|
||||
|
<th>{{ trans('user.email') }}</th> |
||||
<td>{{ $user->email }}</td> |
<td>{{ $user->email }}</td> |
||||
</tr> |
</tr> |
||||
@endif |
@endif |
||||
<tr> |
<tr> |
||||
<th>Telp</th> |
|
||||
|
<th>{{ trans('user.phone') }}</th> |
||||
<td>{{ $user->phone }}</td> |
<td>{{ $user->phone }}</td> |
||||
</tr> |
</tr> |
||||
<tr> |
<tr> |
||||
<th>Alamat</th> |
|
||||
|
<th>{{ trans('user.address') }}</th> |
||||
<td>{!! nl2br($user->address) !!}</td> |
<td>{!! nl2br($user->address) !!}</td> |
||||
</tr> |
</tr> |
||||
</tbody> |
</tbody> |
||||
|
|||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue