]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/templates/planet-user.html
Website update.
[people/shoehn/ipfire.org.git] / www / templates / planet-user.html
index c3f0a0c2063d598fccc1f565a5d5e11ebbb484b7..9e2e915551606eb3ca81d116e12ecc3bd41afb5f 100644 (file)
@@ -2,25 +2,46 @@
 
 {% block title %}{{ _("IPFire Planet") }} - {{ author.cn }}{% end block %}
 
-{% block content %}
+{% block bodyA %}
+       <div class="page-header">
+               <h1>{{ author.cn }}'s posts</h1>
+       </div>
+
        {% if entries %}
                {% for entry in entries %}
-                       {{ modules.PlanetEntry(entry, short=True) }}
+                       {{ modules.PlanetEntry(entry, show_avatar=False) }}
                {% end %}
-               
-               <p class="right">
-                       {% if offset - limit %}
-                               <a href="?offset={{ offset - (2 * limit) }}">&lt;&lt; {{ _("See newer entries") }}</a>
-                               &bull;
-                       {% end %}
-                       <a href="?offset={{ offset }}">{{ _("See older entries") }} &gt;&gt;</a>
-               </p>
+
+               <div class="row">
+                       <div class="span9">
+                               <ul class="pager">
+                                       <li class="previous">
+                                               <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
+                                       </li>
+                                       {% if offset - limit %}
+                                               <li class="next">
+                                                       <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} &rarr;</a>
+                                               </li>
+                                       {% end %}
+                               </ul>
+                       </div>
+               </div>
        {% else %}
-                       <p>{{ _("%s did no postings, yet.") % author.cn }}</p>
+                       <p>{{ _("%s did not write any posts, yet.") % author.cn }}</p>
        {% end %}
 {% end block %}
 
-{% block sidebar %}
-       <h4>{{ author.cn }}</h4>
-       <img src="{{ author.gravatar_icon(170) }}" alt="{{ author.uid }}" />
-{% end %}
+{% block bodyB %}
+       <div class="well">
+               <img src="{{ author.gravatar_icon(224) }}" alt="{{ author.cn }}" />
+               <hr>
+               <a href="/user/{{ author.uid }}">
+                       <i class="icon-user"></i>
+                       {{ escape(author.cn) }}
+               </a>
+               <hr>
+               <a href="mailto:{{ author.email }}">
+                       <i class="icon-envelope"></i> {{ _("Mail") }}
+               </a>
+       </div>
+{% end block %}