-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbreadcrumbs.html.twig
More file actions
34 lines (25 loc) · 1.07 KB
/
Copy pathbreadcrumbs.html.twig
File metadata and controls
34 lines (25 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends '@forum/layout.html.twig' %}
{% block content %}
{{ fireHook('view.breadcrumbs.start') }}
{% if crumbs is not empty %}
<div class="linkst">
<div class="inbox">
<ul class="crumbs">
<li><a href="{{ urlBase() }}">{{ trans('Index') }}</a></li>
{% for link, text in crumbs %}
<li><span>» </span>
{{ link is not integer ? '<a href="{{ link }}">' : '<strong>' }}
{{ text }}
{{ link is not integer ? '</a>' : '</strong>' }}</li>
{% endfor %}
{% if rightCrumb is not empty and rightCrumb is not empty %}
<li class="right"><span><a href="{{ rightCrumb.link }}">{{ rightCrumb.text }}</a></span></li>
{% endif %}
</ul>
<div class="pagepost"></div>
<div class="clearer"></div>
</div>
</div>
{% endif %}
{{ fireHook('view.breadcrumbs.end') }}
{% endblock content %}