156b91eb59
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
76 lines
2.8 KiB
HTML
76 lines
2.8 KiB
HTML
{% extends "base.html" %}
|
|
{% load package_extras %}
|
|
|
|
{% 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.date_added|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>{% pkg_details_link pkg.pkg %}</td>
|
|
<td>{{ pkg.pkg.arch.name }}</td>
|
|
<td>{{ pkg.pkg.repo.name|capfirst }}</td>
|
|
<td>{{ pkg.pkg.maintainers|join:', ' }}</td>
|
|
<td>
|
|
{% if pkg.complete %}
|
|
<span class="complete">Complete</span>
|
|
{% else %}
|
|
<span class="incomplete">Incomplete</span>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% load cdn %}{% jquery %}
|
|
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$(".results").tablesorter({widgets: ['zebra'], sortList: [[0,0], [1,0]]});
|
|
});
|
|
|
|
</script>
|
|
{% endblock %}
|