summaryrefslogtreecommitdiff
blob: f8e1b4e9e291903d39481921a42d25271246cf97 (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
{% extends "layout/base.html" %}
{% block content %}
<div class="row">
  <div class="col-xs-12 col-md-9">
    <h2>{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}</h2>
    <p>Changlog</p>
    <p>{{ P.Changlog|linebreaksbr }}</p>
    <table class="table table-striped frontpage-table">
      {% for E in EM_tmp %}
        <tr>
          <td class="frontpage-table-package-atom">
            <a href="/ebuild/{{ E.EbuildId.EbuildId }}/" title="{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.EbuildId.PackageId.RepoId.Repo }}">{{ P.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.EbuildId.PackageId.RepoId.Repo }}</a></td>
          <td>
              {% for K in EK_tmp %}
                {% if K.EbuildId.EbuildId == E.EbuildId.EbuildId  and K.KeywordId.Keyword != '*' %}
                  {% if K.Status == 'Stable' %}<span class="label label-success">{{ K.KeywordId.Keyword }}</span>{% endif %}
                  {% if K.Status == 'Unstable' %}<span class="label label-warning">{{ K.KeywordId.Keyword }}</span>{% endif %}
                  {% if K.Status == 'Negative' %}{{ K.KeywordId.Keyword }}{% endif %}
                {% endif %}
              {% endfor %}
          </td>
        </tr>
      {% endfor %}
    </table>
  </div>
</div>
{% endblock %}