Fix pseudo-folder content listing
Change-Id: Ib01eaea0493a294daed7032e6f9f82c2a0e8798a Closes-Bug: #1312222 Closes-Bug: rhbz#1094783
This commit is contained in:
parent
a2d991274d
commit
dceb2cc8d6
|
@ -3,12 +3,12 @@
|
|||
{% with subfolders=breadcrumb.get_subfolders %}
|
||||
<ul class="breadcrumb">
|
||||
<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>
|
||||
{% for subfolder, path in subfolders %}
|
||||
<li>
|
||||
{% if not forloop.last %}
|
||||
<a href="{% url 'breadcrumb.url' breadcrumb.root|add:'/' path %}">
|
||||
<a href="{% url breadcrumb.url breadcrumb.root|add:'/' path %}">
|
||||
{% endif %}
|
||||
{{ subfolder }}
|
||||
{% if not forloop.last %}
|
||||
|
|
Loading…
Reference in New Issue