summaryrefslogtreecommitdiff
blob: 5e025525768342b07ac795627bb2cb907823f271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "layout/base.html" %}
{% block content %}
<div class="row">
<h2>Categories</h2>
  <div class="col-xs-8 col-md-4">
    {% for key, CM in CM_tmp.items %}
      <table class="table table-striped frontpage-table">
        <tr>
          <td class="frontpage-table-package-atom">
            <a href="/categories/{{ CM.CategoryId }}/" title="{{ key }}">{{ key }}</a>
          </td>
          <td>
            <p title="{{ CM.Descriptions }}">{{ CM.Descriptions }}</p>
            <p title="{% for P in CM.Packages %}{{ key }}/{{ P }}{% endfor %}">Packages</p> 
          </td>
        </tr>
      </table>
      {% if forloop.last %}
        </div>
      {% else %}
        {% if forloop.counter|divisibleby:"2" %}
          </div><div class="col-xs-8 col-md-4">
        {% endif %}
      {% endif %}
    {% endfor %}
</div>

{% endblock %}