Fix pseudo-folder content listing
Change-Id: Ib01eaea0493a294daed7032e6f9f82c2a0e8798a
Closes-Bug: #1312222
Closes-Bug: rhbz#1094783
(cherry picked from commit dceb2cc8d6
)
This commit is contained in:
parent
0c3b71055c
commit
e5f04c2395
|
@ -3,12 +3,12 @@
|
||||||
{% with subfolders=breadcrumb.get_subfolders %}
|
{% with subfolders=breadcrumb.get_subfolders %}
|
||||||
<ul class="breadcrumb">
|
<ul class="breadcrumb">
|
||||||
<li>
|
<li>
|
||||||
Folder Path: <a href="{% url 'breadcrumb.url' breadcrumb.root|add:'/' %}">{{ breadcrumb.root }}</a> <span class="divider">/</span>
|
Folder Path: <a href="{% url breadcrumb.url breadcrumb.root|add:'/' %}">{{ breadcrumb.root }}</a> <span class="divider">/</span>
|
||||||
</li>
|
</li>
|
||||||
{% for subfolder, path in subfolders %}
|
{% for subfolder, path in subfolders %}
|
||||||
<li>
|
<li>
|
||||||
{% if not forloop.last %}
|
{% if not forloop.last %}
|
||||||
<a href="{% url 'breadcrumb.url' breadcrumb.root|add:'/' path %}">
|
<a href="{% url breadcrumb.url breadcrumb.root|add:'/' path %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ subfolder }}
|
{{ subfolder }}
|
||||||
{% if not forloop.last %}
|
{% if not forloop.last %}
|
||||||
|
|
Loading…
Reference in New Issue