1 {% extends "documents/base.html" %}
4 {% load documents book_list wall %}
8 {% javascript 'book_list' %}
9 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-contextmenu/2.7.1/jquery.contextMenu.min.js"></script>
13 {% stylesheet 'book_list' %}
14 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-contextmenu/2.7.1/jquery.contextMenu.min.css">
17 {% block titleextra %}{% trans "My page" %}{% endblock %}
20 {% block leftcolumn %}
21 {% book_list request.user %}
22 {% endblock leftcolumn %}
24 {% block rightcolumn %}
27 <div class="card-header">
30 <div class="card-body">
32 Podłączone konto na Wolnych Lekturach:
33 <strong>{{ wllogin }}</strong>
35 <form method="post" action="{% url 'apiclient_disconnect' %}">
37 <button class="btn btn-danger">
47 <div class="card-header">
48 <h2>{% trans "Your last edited documents" %}</h2>
50 <div class="card-body">
52 {% for edit_url, item in last_books %}
54 {% if edit_url|length == 2 %}
55 {# Temporary support for old-style last_books. #}
56 href="{% url 'wiki_editor' edit_url.0 edit_url.1 %}"
60 target="_blank">{{ item.title }}</a><br/><span class="date">({{ item.time|date:"H:i:s, d/m/Y" }})</span></li>
66 <div class="card mt-4">
67 <div class="card-header">
68 <h2>{% trans "Recent activity for" %} {{ request.user|nice_name }}</h2>
70 <div class="card-body">
71 {% wall request.user 10 %}
73 {% endblock rightcolumn %}