summaryrefslogtreecommitdiffstats
path: root/templates/packages/signoffs.html
blob: 3040f45350eba501d9aebab3bda6ddb47fdcc197 (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
46
47
48
49
50
51
{% extends "base.html" %}
{% block title %}Arch Linux - Package Signoffs{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}

{% block content %}
{% if packages %}
<div id="dev-signoffs" class="box">

    <h2>Package Signoffs</h2>

    <table id="signoffs" class="results">
        <thead>
            <tr>
                <th>Arch</th>
                <th>Package</th>
                <th>Version</th>
                <th>Last Updated</th>
                <th>Target Repo</th>
                <th>Approved</th>
                <th>Signoff</th>
            </tr>
        </thead>
        <tbody>
            {% for pkg,target in packages %}
            <tr class="{% cycle 'odd' 'even' %}">
                <td>{{ pkg.arch.name }}</td>
                <td><a href="{{ pkg.get_absolute_url }}"
                        title="View package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a></td>
                <td>{{ pkg.pkgver }}-{{ pkg.pkgrel }}</td>
                <td>{{ pkg.last_update }}</td>
                <td>{{ target }}</td>
                <td class="signoff-{{pkg.approved_for_signoff|yesno}}">
                    {{ pkg.approved_for_signoff|yesno:"Yes,No" }}</td>
                <td>
                    <ul>
                        <li><a href="/packages/signoff_package/{{pkg.arch}}/{{pkg.pkgname}}/"
                            title="Signoff {{pkg.pkgname}} for {{pkg.arch}}">Signoff</a>
                        </li>
                        {% for signoff in pkg.signoffs %}
                        <li class="signed-username" title="Signed off by {{signoff.packager}}">
                        {{signoff.packager}}</li>
                        {% endfor %}
                    </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
</div>
{% endif %}
{% endblock %}