diff --git a/minecraftcodex/database/templates/blocks.html b/minecraftcodex/database/templates/blocks.html index 5b98d7a..3a9a55e 100644 --- a/minecraftcodex/database/templates/blocks.html +++ b/minecraftcodex/database/templates/blocks.html @@ -3,6 +3,35 @@ {% block content %}

Blocks


+
+ {% for item in page.object_list %} +
+ {% if user.is_authenticated %} + + {% else %} + + {% endif %} +
+
+ {{ item.data_value }} +
{{ item.name() }}
+
+
+ {% if item.main_texture %} + + {% endif %} +
+
+
+
+
+ {% if loop.index % 4 == 0 %} +
+
+ {% endif %} + {% endfor %} +
+ {# @@ -31,6 +60,7 @@ {% endfor %}
+ #}