refactored breadcrumb management

This commit is contained in:
Fabien Potencier
2012-07-06 22:10:59 +02:00
parent 65e0bd402b
commit a7d17a749e
7 changed files with 19 additions and 31 deletions

View File

@@ -11,10 +11,7 @@
</div>
</div>
<ul class="breadcrumb">
<li><a href="{{ path('repository', {repo: repo}) }}">{{ repo }}</a> <span class="divider">/</span></li>
<li>Commit {{ commit.getHash}} </li>
</ul>
{% include 'breadcrumb.twig' with {breadcrumbs: [{dir: "Commit #{commit.getHash}", path:''}]} %}
<div class="commit-view">
<div class="commit-header">