]> git.ipfire.org Git - ipfire.org.git/blobdiff - templates/planet/user.html
planet: Slight face-lift and add hottest posts
[ipfire.org.git] / templates / planet / user.html
index 369a381db990b141a9d3fa5d9648ff22a1147274..ce57a41a489c28f21a26083d4f680ea788d04614 100644 (file)
@@ -1,13 +1,13 @@
-{% extends "base.html" %}
+{% extends "../base.html" %}
 
-{% block title %}{{ _("IPFire Planet") }} - {{ author.cn }}{% end block %}
+{% block title %}{{ _("IPFire Planet") }} - {{ author.name }}{% end block %}
 
 {% block body %}
        <div class="row">
                <div class="col-lg-9 col-md-9">
                        {% block bodyA %}
                                <div class="page-header">
-                                       <h1>{{ author.cn }}'s posts</h1>
+                                       <h1>{{ author.name }}'s posts</h1>
                                </div>
 
                                {% if entries %}
                                                </div>
                                        </div>
                                {% else %}
-                                               <p>{{ _("%s did not write any posts, yet.") % author.cn }}</p>
+                                               <p>{{ _("%s did not write any posts, yet.") % author.name }}</p>
                                {% end %}
                        {% end block %}
                </div>
 
                <div class="col-lg-3 col-md-3">
-                       <div class="well">
-                               <img class="img-rounded" src="{{ author.gravatar_icon(232) }}" alt="{{ author.cn }}" />
-                               <hr>
-                               <a href="/user/{{ author.uid }}">
-                                       <i class="glyphicon glyphicon-user"></i>
-                                       {{ escape(author.cn) }}
-                               </a>
-                               <hr>
-                               <a href="mailto:{{ author.email }}">
-                                       <i class="glyphicon glyphicon-envelope"></i> {{ _("Mail") }}
-                               </a>
-                       </div>
+                       {% module PlanetAuthorBox(entry.author) %}
                </div>
        </div>
 {% end block %}