Ryddet litt i koden til MapIndex.
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user