Ryddet litt i koden til MapIndex.

This commit is contained in:
2011-03-06 21:53:58 +00:00
parent ad6e4a570b
commit 385c9c2247
2 changed files with 13 additions and 5 deletions

View File

@@ -9,14 +9,14 @@ Hyllekart
{% for shelf in shelf_lists %}
<span class="img">
<table border="1" class="shelf" >
<caption class="caption">Hylle {% if forloop.last %}B{% else %}A{% endif %}</caption>
{% for row in shelf.1 %}
<caption class="caption">Hylle {{ shelf.shelf_name }}</caption>
{% for row in shelf.shelf_list %}
<tr>
{% for column in row %}
<td>
<table>
{% for category in column %}
<tr><td><a href="/kategori/{{ category.id }}">{{ category }}</a></td></tr>
<tr><td {% if category in highlight_list %}class="highlight"{% endif %}>{% if category in highlight_list %}!!{% endif %}<a href="/kategori/{{ category.id }}">{{ category }}</a></td></tr>
{% endfor %}
</table>
</td>