]> git.ipfire.org Git - ipfire.org.git/blob - templates/planet/user.html
6ec4cf2ea80f1e665fe3d409601757d0de02a4a6
[ipfire.org.git] / templates / planet / user.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("IPFire Planet") }} - {{ author.name }}{% end block %}
4
5 {% block body %}
6 <div class="row">
7 <div class="col-lg-9 col-md-9">
8 {% block bodyA %}
9 <div class="page-header">
10 <h1>{{ author.name }}'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="col-lg-9 col-md-9">
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.name }}</p>
34 {% end %}
35 {% end block %}
36 </div>
37
38 <div class="col-lg-3 col-md-3">
39 <div class="well">
40 <img class="img-thumbnail" src="{{ author.gravatar_icon(213) }}" alt="{{ author.name }}" />
41
42 <hr>
43
44 <i class="glyphicon glyphicon-user"></i>
45 <a href="/user/{{ author.uid }}">
46 {{ author.name }}
47 </a>
48
49 <hr>
50
51 <i class="glyphicon glyphicon-envelope"></i>
52 <a href="mailto:{{ author.email }}">
53 {{ _("Mail") }}
54 </a>
55 </div>
56 </div>
57 </div>
58 {% end block %}