]> git.ipfire.org Git - ipfire.org.git/blob - templates/modules/news-item.html
c8ae423fbc02e794bc9cdcad827ff4a5cfe7d9fa
[ipfire.org.git] / templates / modules / news-item.html
1 <div class="row">
2 <div class="col-lg-12 col-md-12">
3 {% if show_heading %}
4 <h2>
5 {% if announcement %}
6 {{ _("Announcement") }}:
7 {% end %}
8 <a href="http://www.ipfire.org/news/{{ item.slug }}">{{ item.title }}</a>
9 </h2>
10 {% end %}
11
12 {% raw item.text %}
13
14 <hr>
15
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">
31 {{ _("Published by %(author)s, %(time)s") % { "author" : item.author, "time" : locale.format_date(item.published, full_format=True) } }}
32 </p>
33 </div>
34 </div>