summaryrefslogtreecommitdiff
blob: 7139c87ba03f3080f8cedd67622fbea97dbae22e (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 CM in CM_tmp %}
      <table class="table table-striped frontpage-table">
        <tr>
          <td class="frontpage-table-package-atom">
            <a href="/categories/{{ CM.CategoryId }}/" title="{{ CM.Category }}">{{CM.Category }}</a>
          </td>
          <td>
            <p title="{{ CM.Descriptions }}">{{ CM.Descriptions }}</p>
            <p title="{% for P in CM.Packages %}{{ CM.Category}}/{{ 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 %}