Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/claroline/CoreBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ngodfraind committed Feb 13, 2015
2 parents ac22750 + f77394d commit 9bacc5d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Resources/views/macros.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@
{% spaceless %}
<ul class="breadcrumb">
{% for element in elements %}
<li{% if element['href'] == "" %} class="active"{% endif %}>
{% if element['href'] != "" %}
<li{% if loop.last %} class="active"{% endif %}>
{% if not loop.last %}
<a href="{{ element['href'] }}">{% if element['icon'] is defined %}<i class="{{ element['icon'] }}"></i> {% endif %}{{ element['name'] }}</a>
{% else %}
{{ element['name'] }}
{% endif %}
{% else %}<span>{{ element['name'] }}</span>{% endif %}
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit 9bacc5d

Please sign in to comment.