]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/modules/release-item.html
planet: Slight face-lift and add hottest posts
[people/shoehn/ipfire.org.git] / templates / modules / release-item.html
1 <div class="page-header">
2 <h2>
3 {% if latest %}{{ _("Latest release") }}:{% end %}
4 {{ release.name }}
5 </h2>
6 </div>
7
8 {% if release.files %}
9 {% if not release.stable %}
10 <div class="alert alert-danger">
11 <h4>{{ _("Caution!") }}</h4>
12
13 {% if lang == "de" %}
14 Dieses Release ist nicht als <em>stabile</em> Version
15 von IPFire freigegeben und nur für Testumgebungen gedacht.
16 Daher sollte dieses Release nicht in produktiven
17 Umgebungen eingesetzt werden und Fehler berichtet werden.
18 {% else %}
19 This release is not a stable version of IPFire and
20 intended for testing purposes only.
21 Do not use this release in production and please
22 report any bugs.
23 {% end %}
24 </div>
25 {% end %}
26
27 <div class="ac">
28 {% module DownloadButton(release) %}
29 </div>
30
31 <hr>
32
33 {% for arch, files in downloads %}
34 <h3>{{ arch }}</h3>
35
36 <table class="table table-striped table-bordered">
37 <thead>
38 <tr>
39 <th>{{ _("Image type") }}</th>
40 <th>{{ _("Size") }}</th>
41 </tr>
42 </thead>
43 <tbody>
44 {% for file in files %}
45 <tr>
46 <td>
47 {% if file.torrent_hash %}
48 <p class="pull-right">
49 <a href="{{ file.magnet_link }}">
50 <i class="glyphicon glyphicon-magnet"></i>
51 </a>
52 <a href="http://tracker.ipfire.org/{{ file.torrent_hash }}/download">
53 <i class="glyphicon glyphicon-download-alt"></i>
54 </a>
55 </p>
56 {% end %}
57 <a class="download-splash" href="{{ file.url }}">{{ _(file.desc) }}</a>
58 <br>{{ _(file.rem) }}
59
60 {% if file.sha1 %}
61 <br><br><em>{{ _("SHA1 checksum") }}: {{ file.sha1 }}</em>
62 {% end %}
63 </td>
64 <td>
65 {{ format_size(file.size) }}
66 </td>
67 </tr>
68 {% end %}
69 </tbody>
70 </table>
71 {% end %}
72
73 <p class="pull-right">
74 <strong>{{ _("Legend:") }}</strong>
75 <i class="glyphicon glyphicon-magnet"></i> {{ _("Magnet link") }},
76 <i class="glyphicon glyphicon-download-alt"></i> {{ _("Torrent download") }}
77 </p>
78
79 {% if release.news %}
80 <hr>
81
82 {% module NewsItem(release.news, show_heading=True, announcement=True) %}
83 {% end %}
84 {% else %}
85 <div class="alert alert-warning">
86 {{ _("There are no downloads available for this release.") }}
87 </div>
88 {% end %}