]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/modules/news-item.html
Donation page responsivness
[people/shoehn/ipfire.org.git] / templates / modules / news-item.html
index 7fbd41be20b7679295427e021796898c768b8bf8..c8ae423fbc02e794bc9cdcad827ff4a5cfe7d9fa 100644 (file)
@@ -5,18 +5,30 @@
                                {% if announcement %}
                                        {{ _("Announcement") }}:
                                {% end %}
-                               <a href="/news/{{ item.slug }}">{{ item.title }}</a>
+                               <a href="http://www.ipfire.org/news/{{ item.slug }}">{{ item.title }}</a>
                        </h2>
                {% end %}
 
                {% raw item.text %}
-       </div>
-</div>
-<div class="row">
-       <div class="col-lg-12 col-md-12">
-               <p class="pull-right">
-                       <a href="/author/{{ item.author_id }}">{{ item.author }}</a> -
-                       {{ locale.format_date(item.published, full_format=True) }}
+
+               <hr>
+
+               {% if release %}
+                       <div class="btn-toolbar ac">
+                               <a class="btn btn-primary btn-lg" href="//downloads.ipfire.org/release/{{ release.sname }}">
+                                       <span class="fa fa-download"></span> {{ _("Download %s") % escape(release.name) }}<br>
+                               </a>
+
+                               <a class="btn btn-success btn-lg" href="//www.ipfire.org/donate">
+                                       {{ _("Donate!") }}
+                               </a>
+                       </div>
+
+                       <br>
+               {% end %}
+
+               <p class="text-muted ac">
+                       {{ _("Published by %(author)s, %(time)s") % { "author" : item.author, "time" : locale.format_date(item.published, full_format=True) } }}
                </p>
        </div>
 </div>