Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
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
Siti Aisah
webprofile-jwg2024
Commits
a38b5467
Commit
a38b5467
authored
4 years ago
by
Aan Choesni Herlingga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix menu if null
parent
d854ed7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
resources/views/webprofile/front/jollyany/de/menu.blade.php
+3
-3
No files found.
resources/views/webprofile/front/jollyany/de/menu.blade.php
View file @
a38b5467
...
...
@@ -3,13 +3,13 @@
@
if
(
$value
->
url
)
<
li
><
a
href
=
"{!! url((string)
$value->url
) !!}"
>@
if
(
$value
->
rDe
)
{
!!
$value
->
rDe
->
name
!!
}
@
endif
</
a
></
li
>
@
else
<
li
class
="
dropdown
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">
{!! $value->rDe->name !!}
<div class="arrow-up"></div></a>
<
li
class
="
dropdown
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">
@if ($value->rDe) {!! $value->rDe->name !!} @endif
<div class="arrow-up"></div></a>
<
ul
class
="
dropdown
-
menu
" role="
menu
">
@foreach (
$menu
as
$valuec
)
@if(
$valuec->parent
==
$value->id
)
@if(
$valuec->url
)
@if (
$valuec->rDe
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">
{!!
$valuec->rDe
->name !!}
</a></li>
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">
@if (
$valuec->rDe
) {!!
$valuec->rDe
->name !!}@endif
</a></li>
@endif
@else
<li class="
dropdown
-
submenu
">
...
...
@@ -20,7 +20,7 @@
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
@if (
$valuec2->rDe
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
">
{!!
$valuec2->rDe
->name !!}
</a></li>
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
">
@if (
$valuec2->rDe
) {!!
$valuec2->rDe
->name !!} @endif
</a></li>
@endif
@endif
@endforeach
...
...
This diff is collapsed.
Click to expand it.
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