summaryrefslogtreecommitdiff
blob: a9cef7d22c3f72d553944abd3d7c1d3bbc053d32 (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
34
35
36
37
38
39
40
41
42
43
44
45
{% 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 FI in fi_tmp %}
            {% if FI.EbuildId == E.EbuildId.EbuildId %}
              {% if FI.qa %}<span class="label label-warning">Qa</span>{% endif %}
              {% if FI.repoman %}<span class="label label-warning">Repoman</span>{% endif %}
              {% if FI.fail %}
                <span class="label label-danger">Build</span>
              {% else %}
                <span class="label label-success">Build</span>
              {% 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 %}
  {% if QA %}
    <a class="btn btn-warning btn-xs" href="/qa/{{P.PackageId.PackageId }}/">Qa</a>
  {% endif %}
  {% if Bl %}
    {% if Blf %}
      <a class="btn btn-danger btn-xs">
    {% else %}
      <a class="btn btn-success btn-xs">
    {% endif %}
    Build</a>
  {% endif %}
</div>
{% endblock %}