Skip to content

Commit

Permalink
Merge branch 'vickyrolanda-vickyrolanda' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
apidong committed Jun 26, 2022
2 parents b79d881 + 23b00fc commit f89a535
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Terima kasih pada [untuk diisi] yang terus berkontribusi. Terima kasih pula pada


#### Penambahan Fitur

1. [#142](https://github.com/OpenSID/OpenDK/issues/142) Sediakan Widget Sidebar Foto Camat.

#### Perbaikan BUG

Expand Down
3 changes: 3 additions & 0 deletions resources/views/layouts/frontends/sidebar.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<div class="col-md-4">
<div class="box box-widget">
@include('widgets.camat')
</div>
<div class="box box-widget">
@include('widgets.komplain')
</div>
Expand Down
11 changes: 11 additions & 0 deletions resources/views/widgets/camat.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

<div class="pad text-bold bg-white" style="text-align:center;">
<img src="@if(isset($profil->foto_kepala_wilayah)) {{ asset($profil->foto_kepala_wilayah) }} @else {{ asset('img/no-profile.png') }} @endif" width="200px" class="img-user" style="max-height: 256px; object-fit: contain; width: 250px;">

</div>
<div class="box-header text-center with-border bg-blue">
<h2 class="box-title text-bold" data-toggle="tooltip" data-placement="top" >
{{ $profil->nama_camat }} <br /> <span style="font-size: 14px;color: #ecf0f5;"> {{ $sebutan_kepala_wilayah }} {{ $profil->nama_kecamatan }} </span></h6>
</h2>
</div>
<!-- /.col -->

0 comments on commit f89a535

Please sign in to comment.