Modification of the breadcrumb

This commit is contained in:
touffies
2013-10-02 11:00:28 +02:00
parent 74c8de724f
commit 1cd82159b0
11 changed files with 84 additions and 107 deletions

View File

@@ -4,17 +4,15 @@
{check_auth context="front" roles="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}
{block name="body-class"}page-address{/block}
{block name="breadcrumb"}
<nav class="nav-breadcrumb" role="navigation" aria-labelledby="breadcrumb-label">
<strong id="breadcrumb-label">{intl l="You are here"}: </strong>
<ul class="breadcrumb" itemprop="breadcrumb">
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="index.php" itemprop="url"><span itemprop="title">{intl l="Home"}</span></a></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title">{intl l="Account"}</span></li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="active"><span itemprop="title">{intl l="Address"}</span></li>
</ul>
</nav><!-- /.nav-breadcrumb -->
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['name' => {intl l="Account"}, 'link'=>{url path="/account"}],
['name' => {intl l="Address Update"}, 'link'=>{url path="/address"}]
]}
{/block}
{block name="main-content"}