summaryrefslogtreecommitdiff
path: root/templates/todolists/public_list.html
blob: da99bc011d21d6c09caa2d65b828a0429c6b7dab (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
62
63
64
65
66
67
68
69
{% extends "base.html" %}
{% load static from staticfiles %}
{% load todolists %}

{% block title %}Arch Linux - Todo Lists{% endblock %}

{% block content %}
<div class="box">
    <h2>Developer Todo Lists</h2>
    <div id="public_todo_lists_toc">
        <h3>Open Developer Todo Lists</h3>
        <p>Todo lists are used by the developers when a rebuild of a set of
        packages is needed. This is common when a library has an .so version
        bump; during a toolchain rebuild, or a general cleanup of packages in
        the repositories. The progress can be tracked here. Only todo lists
        with currently incomplete packages are shown.</p>
        {% if todo_lists %}<ul>
            {% for list in todo_lists %}
            <li><a href="#{{ list.id }}">{{ list.name }}</a></li>
            {% endfor %}
        </ul>{% else %}
        <p>There are currently no incomplete developer todo lists.</p>
        {% endif %}
    </div>
</div>
{% if todo_lists %}
<div id="public-todo-lists">
    {% for list in todo_lists %}
    <div class="box">
        <div class="todo-list">
            <a name="{{ list.id }}"></a>
            <h4>{{ list.name }}</h4>
            <p class="todo-info">{{ list.created|date }} - {{ list.creator.get_full_name }}</p>
            <div>{{ list.description|urlize|linebreaks }}</div>
            <table id="todo-pkglist-{{ list.id }}" class="results todo-table">
                <thead>
                    <tr>
                        <th>Name</th>
                        <th>Arch</th>
                        <th>Repo</th>
                        <th>Maintainer</th>
                        <th>Status</th>
                    </tr>
                </thead>
                <tbody>
                    {% for pkg in list.packages %}
                    <tr class="{% cycle 'odd' 'even' %}">
                        <td>{% todopkg_details_link pkg %}</td>
                        <td>{{ pkg.arch.name }}</td>
                        <td>{{ pkg.repo.name|capfirst }}</td>
                        <td>{{ pkg.maintainers|join:', ' }}</td>
                        <td><span class="{{ pkg.status_css_class }}">{{ pkg.get_status_display }}</span></td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
    {% endfor %}
</div>
{% endif %}
{% load cdn %}{% jquery %}{% jquery_tablesorter %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
    $(".results").tablesorter({widgets: ['zebra'], sortList: [[0,0], [1,0]]});
});
</script>
{% endblock %}