Browse Source

Fixed drawing order on forum map.

Ralfp 12 years ago
parent
commit
2cb7c54ab5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      templates/cranefly/forum_map.html

+ 2 - 2
templates/cranefly/forum_map.html

@@ -15,12 +15,12 @@
   {% if forums %}
   {% if forums %}
   <div class="row">
   <div class="row">
     <div class="span6">
     <div class="span6">
-      {% for category in forums %}{% if loop.index is odd and category.subforums %}
+      {% for category in forums %}{% if loop.index0 is odd and category.subforums %}
       {{ draw_category(category) }}
       {{ draw_category(category) }}
       {% endif %}{% endfor %}
       {% endif %}{% endfor %}
     </div>
     </div>
     <div class="span6">
     <div class="span6">
-      {% for category in forums %}{% if loop.index is even and category.subforums %}
+      {% for category in forums %}{% if loop.index0 is even and category.subforums %}
       {{ draw_category(category) }}
       {{ draw_category(category) }}
       {% endif %}{% endfor %}
       {% endif %}{% endfor %}
     </div>
     </div>