CJ 1 vuosi sitten
vanhempi
commit
5c20c42224
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      templates/index.html

+ 1 - 1
templates/index.html

@@ -34,7 +34,7 @@
                                             {% endfor %}</div>
                                     </div>
                                 </div>
-                            {% elif item.type == 2 %}
+                            {% elif item.type == 2 and item.is_top%}
                                 <div class="event">
                                     <div class="label">
                                         <img src="/user_avatar/{{ item.user_id }}">