summaryrefslogtreecommitdiff
path: root/templates/releng/release_list.html
blob: 1657249feabd21d557803a250f4ae0dedf09c1b2 (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
{% extends "base.html" %}
{% load url from future %}

{% block title %}Arch Linux - Releases{% endblock %}

{% block head %}
<link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/releases/" />
{% endblock %}

{% block content %}
<div id="release-list" class="box">

    <h2>Releases</h2>

    <table id="release-table" class="results">
        <thead>
            <tr>
                <th>Release Date</th>
                <th>Version</th>
                <th>Kernel Version</th>
                <th>Available?</th>
                <th>Torrent</th>
                <th>Magnet</th>
                <th>Download Size</th>
            </tr>
        </thead>
        <tbody>
            {% for item in release_list %}
            <tr class="{% cycle 'odd' 'even' %}">
                <td>{{ item.release_date|date }}</td>
				<td><a href="{{ item.get_absolute_url }}" title="Release details for {{ item.version }}">{{ item.version }}</a></td>
                <td>{{ item.kernel_version|default:"" }}</td>
                <td>{{ item.available|yesno }}</td>
                <td>{% if item.available %}<a href="https://www.archlinux.org/{{ item.iso_url }}.torrent"
                        title="Download torrent for {{ item.version }}">Torrent</a>{% endif %}</td>
                <td>{% if item.available %}<a href="{{ item.magnet_uri }}">Magnet</a>{% endif %}</td>
                <td>{% if item.file_size %}{{ item.file_size|filesizeformat }}{% endif %}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>

</div>
{% endblock %}