]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/templates/modules/planet-entry.html
Website update.
[people/shoehn/ipfire.org.git] / www / templates / modules / planet-entry.html
index fd2ffe2e55f3575741329fa9b25e3b1d20f5e733..f9f7fdedb61ef73d76a3e3a1c0b4e07ef9ec6ac2 100644 (file)
@@ -1,26 +1,28 @@
-<div class="post">
-       <h2 class="title"><a href="/post/{{ entry.slug }}">{{ entry.title }}</a></h2>
-       <p class="meta">
-               {{ _("Posted by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.cn }}</a>
-               {{ _("on") }} {{ locale.format_date(entry.published, shorter=True) }}
-               <!-- &bull; <a href="/post/{{ entry.slug }}">{{ _("Full article") }}</a> -->
-       </p>
-       <div class="entry">
-               <img class="floatTR" src="{{ entry.author.gravatar_icon(64) }}"
-                       alt="{{ entry.author.cn }}" />
-
-               {% if short %}
-                       {{ entry.abstract }}
-               {% else %}
-                       {{ entry.text }}
+<div class="row">
+       <div class="span9">
+               {% if show_avatar %}
+                       <div class="well pull-right">
+                               <a href="/user/{{ entry.author.uid }}">
+                                       <img src="{{ entry.author.gravatar_icon(64) }}" alt="{{ entry.author.cn }}" />
+                               </a>
+                       </div>
                {% end %}
 
-               <p class="links">
-                       {% if short %}
-                               <a href="/post/{{ entry.slug }}">{{ _("Read more") }}</a>
-                               &bull;
-                       {% end %}
-                       {{ _("Last updated on") }} {{ locale.format_date(entry.updated) }}.
+               <h2>
+                       <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
+               </h2>
+
+               {{ entry.text }}
+
+               <p class="pull-right" style="clear: both;">
+                       {{ _("Posted by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.cn }}</a>
+                       {{ _("on") }} {{ locale.format_date(entry.published, shorter=True) }}
                </p>
        </div>
 </div>
+
+<div class="row">
+       <div class="span9">
+               <hr>
+       </div>
+</div>