]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/planet/user.html
Update planet to use the new layout.
[people/shoehn/ipfire.org.git] / templates / planet / user.html
CommitLineData
55b162d6
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("IPFire Planet") }} - {{ author.cn }}{% end block %}
4
5{% block body %}
6 <div class="row">
7 <div class="span9">
8 {% block bodyA %}
9 <div class="page-header">
10 <h1>{{ author.cn }}'s posts</h1>
11 </div>
12
13 {% if entries %}
14 {% for entry in entries %}
15 {% module PlanetEntry(entry, show_avatar=False) %}
16 {% end %}
17
18 <div class="row">
19 <div class="span9">
20 <ul class="pager">
21 <li class="previous">
22 <a href="?offset={{ offset }}">&larr; {{ _("Older posts") }}</a>
23 </li>
24 {% if offset - limit %}
25 <li class="next">
26 <a href="?offset={{ offset - (2 * limit) }}">{{ _("Newer posts") }} &rarr;</a>
27 </li>
28 {% end %}
29 </ul>
30 </div>
31 </div>
32 {% else %}
33 <p>{{ _("%s did not write any posts, yet.") % author.cn }}</p>
34 {% end %}
35 {% end block %}
36 </div>
37
38 <div class="span3">
39 <div class="well">
40 <img class="img-rounded" src="{{ author.gravatar_icon(232) }}" alt="{{ author.cn }}" />
41 <hr>
42 <a href="/user/{{ author.uid }}">
43 <i class="icon-user"></i>
44 {{ escape(author.cn) }}
45 </a>
46 <hr>
47 <a href="mailto:{{ author.email }}">
48 <i class="icon-envelope"></i> {{ _("Mail") }}
49 </a>
50 </div>
51 </div>
52 </div>
53{% end block %}