From 463b7f4a8303d74089b679ac602f630adc343274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Thu, 30 May 2013 18:49:47 +0200 Subject: [PATCH] Added possibility to show the version list as blocks instead of a list (same as items/blocks). Only internal, no public interface provided. --- .../database/templates/versions.html | 36 +++++++++++++++++-- minecraftcodex/database/views.py | 8 ++++- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/minecraftcodex/database/templates/versions.html b/minecraftcodex/database/templates/versions.html index be8634c..2c82830 100644 --- a/minecraftcodex/database/templates/versions.html +++ b/minecraftcodex/database/templates/versions.html @@ -8,7 +8,38 @@

Minecraft versions


- options + {% if show == 'squares' %} + +
+ {% endif %} + {% endfor %} +
+ {% else %} @@ -51,11 +82,12 @@ {% endfor %}
+ {% endif %}