Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpkm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Farendi Giotivano R.P
simpkm
Commits
27e19bc4
Commit
27e19bc4
authored
Jun 12, 2023
by
Farendi Giotivano R.P
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foto tidak keluar / salah nih
parent
516fd734
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
public/theme/images/users/user-null.jpg
+0
-0
resources/views/backend/mahasiswa/biodata/index.blade.php
+9
-4
resources/views/layouts/master.blade.php
+2
-3
No files found.
public/theme/images/users/user-null.jpg
0 → 100644
View file @
27e19bc4
16.2 KB
resources/views/backend/mahasiswa/biodata/index.blade.php
View file @
27e19bc4
...
...
@@ -32,12 +32,17 @@
<div class="
card
-
body
">
<div class="
d
-
flex
">
<div class="
flex
-
shrink
-
0
">
@if (
Auth::user()->roles->first()->name != 'mahasiswa'
)
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@if (
is_null(
$biodata->noidentitas
)
)
<img src="
{{
asset
(
'theme/images/users/user-null.jpg'
)
}}
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@else
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@if (Auth::user()->roles->first()->name != 'mahasiswa')
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@else
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
{{
$biodata
->
noidentitas
}}
.
jpg
" alt="" class="
img
-
fluid
img
-
thumbnail
rounded
-
circle
avatar
-
lg
">
@endif
</div>
@endif
</div>
<div class="
flex
-
grow
-
1
ms
-
3
">
<h5 class="
text
-
primary
font
-
size
-
18
mb
-
1
">{{
$biodata->name
}}</h5>
<p class="
font
-
size
-
12
mb
-
2
">{{
$biodata->noidentitas
}}</p>
...
...
resources/views/layouts/master.blade.php
View file @
27e19bc4
...
...
@@ -44,11 +44,10 @@
{{-- @php dd(Auth::user()->roles->first()); @endphp --}}
@if (Auth::user()->roles->first()->name != 'mahasiswa')
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
fotomhs
/
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
'01'
:
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
<img src="
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
asset
(
'theme/images/users/user-null.jpg'
)
:
is_null
(
Auth
::
user
()
->
rBiodata
->
noidentitas
)
?
asset
(
'theme/images/users/user-null'
)
:
'https://siakadu.unesa.ac.id/photo/fotomhs/'
.
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
@else
<img src="
https
://
siakadu
.
unesa
.
ac
.
id
/
photo
/
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
'01'
:
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
<img src="
{{
is_null
(
Auth
::
user
()
->
rBiodata
)
?
asset
(
'theme/images/users/user-null.jpg'
)
:
is_null
(
Auth
::
user
()
->
rBiodata
->
noidentitas
)
?
asset
(
'theme/images/users/user-null'
)
:
'https://siakadu.unesa.ac.id/photo/'
.
Auth
::
user
()
->
rBiodata
->
noidentitas
}}
.
jpg
" alt="
Header
Avatar
" class="
rounded
-
circle
header
-
profile
-
user
" >
@endif
</button>
<div class="
dropdown
-
menu
dropdown
-
menu
-
end
">
<!-- item-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment