Skip to content

Commit

Permalink
Merge pull request django-cms#167 from nZac/fix-folder-template-loop
Browse files Browse the repository at this point in the history
Fixed broken template name in folder plugin
  • Loading branch information
yakky committed Mar 1, 2015
2 parents 7f4ba5b + 96a39dd commit 5de2c69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
{% if object.view_option == "list" %}
<div class="cmsplugin_filer_folder_list" id="folder_{{ instance.id }}">
<!--The files should go there -->
{% if folder_children %}
{% if folder_folders %}
<p>{% trans "Folders" %}</p>
<ul>
{% for folder in folder_children %}
{% for folder in folder_folders %}
<li>{{ folder }}</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit 5de2c69

Please sign in to comment.