10 lines
515 B
Twig
10 lines
515 B
Twig
<ul class="breadcrumb">
|
|
<li><a href="{{ path('tree', {repo: repo, commitishPath: branch}) }}">{{ repo }}</a></li>
|
|
{% for breadcrumb in breadcrumbs %}
|
|
<span class="divider">/</span>
|
|
<li{% if loop.last %} class="active"{% endif %}>{% if not loop.last %}<a href="{{ path('tree', {repo: repo, commitishPath: branch ~ '/' ~ breadcrumb.path}) }}">{{ breadcrumb.dir }}</a>{% endif %}{% if loop.last %}{{ breadcrumb.dir }}{% endif %}</li>
|
|
{% endfor %}
|
|
|
|
{% block extra %}{% endblock %}
|
|
</ul>
|