Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
2016-01-25 20:58:38 +0800
Commit
c77c6073ed2c6f184dc032e09ea1885b4fa9542e
1 parent
d0204b6e
path-nav
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
template/www.yohobuy.com/partials/layout/path-nav.phtml
template/www.yohobuy.com/partials/layout/path-nav.phtml
View file @
c77c607
{
{#if
pathNav
}
}
<p
class=
"path-nav"
>
{
{#each
pathNav
}
}
{
{#if
href
}
}
<a
href=
"{{href}}"
>
{
{#if
@last
}
}
<b>
{
{name
}
}</b>
{
{else
}
}
{
{name
}
}
{
{/if
}
}
{
{#unless
@last
}
}
<span
class=
"iconfont"
>
601
;</span>
{
{/unless
}
}
</a>
{
{^
}
}
{
{#if
@last
}
}
<b>
{
{name
}
}</b>
{
{else
}
}
{
{name
}
}
{
{/if
}
}
{
{#unless
@last
}
}
<span>
<i
class=
"iconfont"
>
601
;</i>
</span>
{
{/unless
}
}
{
{/if
}
}
{
{/each
}
}
</p>
{
{/if
}
}
{
{#if
pathNav
}
}
<p
class=
"path-nav"
>
{
{#each
pathNav
}
}
{
{#if
href
}
}
<a
href=
"{{href}}"
>
{
{#if
@last
}
}
<b>
{
{name
}
}</b>
{
{else
}
}
{
{name
}
}
{
{/if
}
}
{
{#unless
@last
}
}
<span
class=
"iconfont"
>
601
;</span>
{
{/unless
}
}
</a>
{
{^
}
}
{
{#if
@last
}
}
<b>
{
{{name
}
}}</b>
{
{else
}
}
{
{name
}
}
{
{/if
}
}
{
{#unless
@last
}
}
<span>
<i
class=
"iconfont"
>
601
;</i>
</span>
{
{/unless
}
}
{
{/if
}
}
{
{/each
}
}
</p>
{
{/if
}
}
...
...
Please
register
or
login
to post a comment