]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/modules/release-item.html
Massive web site update
[people/shoehn/ipfire.org.git] / templates / modules / release-item.html
CommitLineData
110e8687
MT
1<div class="page-header">
2 <h2>
3 {% if latest %}{{ _("Latest release") }}:{% end %}
4 {{ release.name }}
5 </h2>
6</div>
940227cb 7
60024cc8 8{% if release.files %}
110e8687
MT
9 {% if not release.stable %}
10 <div class="alert alert-danger">
11 <h4>{{ _("Caution!") }}</h4>
60024cc8 12
110e8687
MT
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 %}
7771acea 26
110e8687
MT
27 <div class="ac">
28 {% module DownloadButton(release) %}
29 </div>
7771acea 30
110e8687
MT
31 {% for arch, files in downloads %}
32 <h3>{{ arch }}</h3>
81675874 33
60b0917c
MT
34 <ul class="list-group">
35 {% for file in files %}
36 <li class="list-group-item">
37 {% if file.size >= 1024 * 1024 %}
38 <div class="pull-right">
39 <code class="hidden-sm hidden-xs">{{ _("SHA1: %s") % file.sha1 }}</code>
40 <span class="label label-default">{{ format_size(file.size) }}</span>
d479776f 41
60b0917c
MT
42 <div class="btn-group">
43 <a class="btn btn-default btn-xs" href="{{ file.magnet_link }}" title="{{ _("Magnet Link") }}">
44 <span class="glyphicon glyphicon-magnet"></span>
45 </a>
46 <a class="btn btn-default btn-xs" href="http://tracker.ipfire.org/{{ file.torrent_hash }}/download" title="{{ _("Torrent Download") }}">
47 <span class="glyphicon glyphicon-download-alt"></span>
48 </a>
49 </div>
50 </div>
51 {% end %}
fadcfd00 52
60b0917c
MT
53 <a class="download-splash" href="{{ file.url }}">{{ _(file.desc) }}</a>
54 </li>
55 {% end %}
56 </ul>
57 {% end %}
2fed2438
MT
58
59 {% if release.news %}
2fed2438
MT
60 {% module NewsItem(release.news, show_heading=True, announcement=True) %}
61 {% end %}
940227cb 62{% else %}
985edd9f 63 <div class="alert alert-warning">
60024cc8
MT
64 {{ _("There are no downloads available for this release.") }}
65 </div>
940227cb 66{% end %}