summaryrefslogtreecommitdiffstats
path: root/templates/releng/release_detail.html
blob: 5cd1c4320742f1dd86b90e9b73d6f31ac7ef9f2b (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" %}

{% block title %}Arch Linux - Release: {{ release.version }}{% endblock %}

{% block content %}
<div class="release box">
    <h2>{{ release.version }}</h2>

    <ul>
        <li><strong>Release Date:</strong> {{ release.release_date|date }}</li>
        {% if release.kernel_version %}<li><strong>Kernel Version:</strong> {{ release.kernel_version }}</li>{% endif %}
        <li><strong>Available:</strong> {{ release.available|yesno }}</li>
        {% if release.torrent_data %}<li><strong>Download:</strong> <a
                href="{% url 'releng-release-torrent' release.version %}"
                title="Download torrent for {{ release.version }}">Torrent</a>,
            <a href="{{ release.magnet_uri }}">Magnet</a></li>{% endif %}
        {% if release.md5_sum %}<li><strong>MD5:</strong> {{ release.md5_sum }}</li>{% endif %}
        {% if release.sha1_sum %}<li><strong>SHA1:</strong> {{ release.sha1_sum }}</li>{% endif %}
    </ul>

    {% if release.info %}
    <h3>Release Notes</h3>

    <div class="article-content">{{ release.info_html }}</div>
    {% endif %}

    {% if release.torrent_data %}{% with release.torrent as torrent %}
    <h3>Torrent Information</h3>

    <ul>
        <li><strong>Comment:</strong> {{ torrent.comment }}</li>
        <li><strong>Creation Date:</strong> {{ torrent.creation_date|date:"DATETIME_FORMAT" }} UTC</li>
        <li><strong>Created By:</strong> {{ torrent.created_by }}</li>
        <li><strong>Announce URL:</strong> {{ torrent.announce }}</li>
        <li><strong>File Name:</strong> {{ torrent.file_name }}</li>
        <li><strong>File Length:</strong> {{ torrent.file_length|filesizeformat }}</li>
        <li><strong>Piece Count:</strong> {{ torrent.piece_count }} pieces</li>
        <li><strong>Piece Length:</strong> {{ torrent.piece_length|filesizeformat }}</li>
        <li><strong>Info Hash:</strong> {{ torrent.info_hash }}</li>
        <li><strong>URL List Length:</strong> {{ torrent.url_list|length }} URLs</li>
    </ul>
    {% endwith %}{% endif %}
</div>
{% endblock %}