]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/planet/user.html
Huge update for fireinfo, introducting talk and nopaste
[people/shoehn/ipfire.org.git] / templates / planet / user.html
CommitLineData
55b162d6
MT
1{% extends "base.html" %}
2
66862195 3{% block title %}{{ _("IPFire Planet") }} - {{ author.name }}{% end block %}
55b162d6
MT
4
5{% block body %}
6 <div class="row">
00b02c49 7 <div class="col-lg-9 col-md-9">
55b162d6
MT
8 {% block bodyA %}
9 <div class="page-header">
66862195 10 <h1>{{ author.name }}'s posts</h1>
55b162d6
MT
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">
00b02c49 19 <div class="col-lg-9 col-md-9">
55b162d6
MT
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 %}
66862195 33 <p>{{ _("%s did not write any posts, yet.") % author.name }}</p>
55b162d6
MT
34 {% end %}
35 {% end block %}
36 </div>
37
00b02c49 38 <div class="col-lg-3 col-md-3">
55b162d6 39 <div class="well">
66862195 40 <img class="img-thumbnail" src="{{ author.gravatar_icon(213) }}" alt="{{ author.name }}" />
b3202856 41
55b162d6 42 <hr>
b3202856
MT
43
44 <i class="glyphicon glyphicon-user"></i>
55b162d6 45 <a href="/user/{{ author.uid }}">
66862195 46 {{ author.name }}
55b162d6 47 </a>
b3202856 48
55b162d6 49 <hr>
b3202856
MT
50
51 <i class="glyphicon glyphicon-envelope"></i>
55b162d6 52 <a href="mailto:{{ author.email }}">
b3202856 53 {{ _("Mail") }}
55b162d6
MT
54 </a>
55 </div>
56 </div>
57 </div>
58{% end block %}