Skip to content
Snippets Groups Projects
Commit ee1c80c0 authored by Graham Cole's avatar Graham Cole
Browse files

don't show breadcrumb <ul> when there are no crumbs to show. Fixes #60

parent 4704a5ae
No related branches found
No related tags found
No related merge requests found
<div id="breadcrumb">
{if $pathlist}
<ul>
{foreach name=pathlist from=$pathlist key=key item=item}
<li>{if !$smarty.foreach.pathlist.first}{if $item!=""}&gt; {/if}{/if}{if !$smarty.foreach.pathlist.last}<a href="{buildpath list=$pathlist item=$item|escape:'url'}">{/if}{if $item}{$item|escape:'htmlall'}{else}{if $smarty.foreach.pathlist.first}SUCS{/if}{/if}{if !$smarty.foreach.pathlist.last}</a>{/if}</li>
{/foreach}
</ul>
{/if}
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment