evorepo/templates/releng/release_list.html
Johannes Löthberg 573f08be04 Stop loading cycle from future everywhere
It's available already since we're no longer in the past, and can't load
from future *in* the future.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08 12:51:19 +02:00

70 lines
2.8 KiB
HTML

{% extends "base.html" %}
{% load static from staticfiles %}
{% 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>
<p>This is a list of ISO releases made by the Arch Linux release
engineering team. These are typically done on a monthly cadence, containing
the latest kernel and base packages from the package repositories. Click
the version of each release to read any additional notes or details about
each release.</p>
<p>Torrents and magnet URIs are available to download the releases.
Releases listed as not available may still be seeded by peers, but are no
longer registered via the official Arch Linux torrent tracker. We always
recommend running the latest available release.</p>
<table id="release-table" class="results">
<thead>
<tr>
<th style="width: 30px;"></th>
<th>Release Date</th>
<th>Version</th>
<th>Kernel Version</th>
<th>Available?</th>
<th>Download Size</th>
</tr>
</thead>
<tbody>
{% for item in release_list %}
<tr class="{% cycle 'odd' 'even' %}">
<td>{% if item.torrent_data %}
<a href="{% url 'releng-release-torrent' item.version %}"
title="Download torrent for {{ item.version }}"><img width="12" height="12" src="{% static "download.png" %}" alt="Torrent"/></a>
&nbsp;
<a href="{{ item.magnet_uri }}"
title="Get magnet link for {{ item.version }}"><img width="12" height="12" src="{% static "magnet.png" %}" alt="Magnet"/></a>
{% endif %}</td>
<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 class="available-{{ item.available|yesno }}">{{ item.available|yesno|capfirst }}</td>
<td>{% if item.torrent_data %}{{ item.torrent.file_length|filesizeformat }}{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}
{% block script_block %}
{% 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,1], [1,1]],
headers: { 0: { sorter: false } }
});
});
</script>
{% endblock %}