Merge with master.
[redakcja.git] / apps / catalogue / templates / catalogue / my_page.html
1 {% extends "catalogue/base.html" %}
2
3 {% load i18n %}
4 {% load catalogue book_list wall %}
5 {% load compressed %}
6
7 {% block add_js %}
8 {% compressed_js 'book_list' %}
9 {% endblock %}
10
11 {% block add_css %}
12 {% compressed_css 'book_list' %}
13 {% endblock %}
14
15 {% block titleextra %}{% trans "My page" %}{% endblock %}
16
17
18 {% block leftcolumn %}
19     {% book_list request.user %}
20 {% endblock leftcolumn %}
21
22 {% block rightcolumn %}
23     <div id="last-edited-list">
24         <h2>{% trans "Your last edited documents" %}</h2>
25         <ol>
26             {% for slugs, item in last_books %}
27             <li><a href="{% url 'wiki_editor' slugs.0 slugs.1 %}"
28                 target="_blank">{{ item.title }}</a><br/><span class="date">({{ item.time|date:"H:i:s, d/m/Y" }})</span></li>
29             {% endfor %}
30         </ol>
31     </div>
32
33     <h2>{% trans "Recent activity for" %} {{ request.user|nice_name }}</h2>
34     {% wall request.user 10 %}
35 {% endblock rightcolumn %}