summaryrefslogtreecommitdiff
blob: b941c62e11e9f6a6d7ba37da73d93f80531870d0 (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
{% 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.Gitlog|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>
  {% if PR %}
    <a class="btn btn-warning btn-xs" href="/repoman/{{P.PackageId.PackageId }}/">Repoman</a>
  {% endif %}
</div>
{% endblock %}