]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/modules/news-item.html
Add a direct download button to all release notes
[people/shoehn/ipfire.org.git] / templates / modules / news-item.html
CommitLineData
60024cc8 1<div class="row">
985edd9f 2 <div class="col-lg-12 col-md-12">
60024cc8
MT
3 {% if show_heading %}
4 <h2>
5 {% if announcement %}
6 {{ _("Announcement") }}:
7 {% end %}
2fed2438 8 <a href="http://www.ipfire.org/news/{{ item.slug }}">{{ item.title }}</a>
60024cc8 9 </h2>
940227cb 10 {% end %}
60024cc8 11
02f2d7fe 12 {% raw item.text %}
2fed2438
MT
13
14 <hr>
15
9de13943
MT
16 {% if release %}
17 <div class="btn-toolbar ac">
18 <a class="btn btn-primary btn-lg" href="//downloads.ipfire.org/release/{{ release.sname }}">
19 <span class="fa fa-download"></span> {{ _("Download %s") % escape(release.name) }}<br>
20 </a>
21
22 <a class="btn btn-success btn-lg" href="//www.ipfire.org/donate">
23 {{ _("Donate!") }}
24 </a>
25 </div>
26
27 <br>
28 {% end %}
29
30 <p class="text-muted ac">
2fed2438 31 {{ _("Published by %(author)s, %(time)s") % { "author" : item.author, "time" : locale.format_date(item.published, full_format=True) } }}
9de13943 32 </p>
940227cb 33 </div>
81675874 34</div>