blob: 93be4979f2c1e773807d8b51d973c4bbb4b70e72 (
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
52
53
54
55
56
57
58
59
60
61
|
{% 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.full_version }}</td>
<td>{{ pkg.last_update|date }}</td>
<td>{{ target }}</td>
<td class="signoff-{{pkg.approved_for_signoff|yesno}}">
{{ pkg.approved_for_signoff|yesno:"Yes,No" }}</td>
<td>
<ul>
<li><a class="signoff-link" 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>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="/media/archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('a.signoff-link').click(signoff_package);
$(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0]],
headers: { 6: { sorter: false } } });
});
</script>
{% endif %}
{% endblock %}
|