summaryrefslogtreecommitdiff
blob: 8cc402d308c85d1c61bb2666031946cbea2058e3 (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
29
30
31
32
33
{% extends "layout/base.html" %}
{% block content %}
<div class="row">
  <h2>Packages in {{ C.Category }}</h2>
  <div class="col-xs-12 col-md-5">
    {% for PM in PM_tmp %}
      <table class="table table-striped frontpage-table">
        <tr>
          <td class="frontpage-table-package-atom">
            <a href="/package/{{ PM.PackageId }}/" title="{{ C.Category }}/{{ PM.Package }}">{{ C.Category }}/{{ PM.Package }}</a>
            <p title="{{ PM.Changlog }}">Changlog</p>
          </td>
          <td>
            <p title="{{ PM.Descriptions }}">{{ PM.Descriptions }}</p>
            <p title="{% for P in PM.Ebuilds %}{{ PM.Package }}/{{ P }}{% endfor %}">Versions
            {% if PM.Repoman %}
              <a class="btn btn-warning btn-xs" href="/repoman/{{PM.PackageId }}/">Repoman</a>
            {% endif %}
            </p>
          </td>
        </tr>
      </table>
      {% if forloop.last %}
        </div>
      {% else %}
        {% if forloop.counter|divisibleby:"2" %}
          </div><div class="col-xs-12 col-md-5">
        {% endif %}
      {% endif %}
    {% endfor %}
</div>

{% endblock %}