Librarian in regular requirements.
[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 pipeline %}
6
7 {% block add_js %}
8 {% javascript 'book_list' %}
9 {% endblock %}
10
11 {% block add_css %}
12 {% stylesheet '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 edit_url, item in last_books %}
27                 <li><a
28                 {% if edit_url|length == 2 %}
29                     {# Temporary support for old-style last_books. #}
30                     href="{% url 'wiki_editor' edit_url.0 edit_url.1 %}"
31                 {% else %}
32                     href="{{ edit_url }}"
33                 {% endif %}
34                 target="_blank">{{ item.title }}</a><br/><span class="date">({{ item.time|date:"H:i:s, d/m/Y" }})</span></li>
35             {% endfor %}
36         </ol>
37     </div>
38
39     <h2>{% trans "Recent activity for" %} {{ request.user|nice_name }}</h2>
40     {% wall request.user 10 %}
41 {% endblock rightcolumn %}