<script id="browse-breadcrumb-tmpl" type="text/html">
<ul class="breadcrumb">
- <li><a href="#" data-bind="click: function(){ browseRoot()}"><i class="icon-home"/> </a> <span class="divider">/</span></li>
+ <li>
+ <a href="#" data-bind="click: function(){ browseRoot()}">
+ <!--img src="images/go-home.png"/-->
+ <i class="icon-home"/> </a> <span class="divider">/</span>
+ </li>
+ {{var number=breadCrumbEntries().length}}
{{each(i,breadCrumbEntry) breadCrumbEntries}}
- <li data-bind="click: function(){displayGroupId(breadCrumbEntry.groupId)}">
- <a href="#">${breadCrumbEntry.displayValue}</a> <span class="divider">/</span>
+ <li>
+ {{if i==number-1}}
+ ${breadCrumbEntry.displayValue}
+ {{else}}
+ <a href="#" data-bind="click: function(){displayGroupId(breadCrumbEntry.groupId)}">${breadCrumbEntry.displayValue}</a>
+ {{/if}}
+ {{if i<number-1}}
+
+ <span class="divider">/</span>
+ {{/if}}
</li>
{{/each}}
</ul>