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 %}
25 <div class="card mb-4">
26 <div class="card-header">
29 <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">
42 <form method="post" action="{% url 'apiclient_oauth' %}">
44 <button class="btn btn-primary">
53 <div class="card-header">
54 <h2>{% trans "Your last edited documents" %}</h2>
56 <div class="card-body">
58 {% for edit_url, item in last_books %}
60 {% if edit_url|length == 2 %}
61 {# Temporary support for old-style last_books. #}
62 href="{% url 'wiki_editor' edit_url.0 edit_url.1 %}"
66 target="_blank">{{ item.title }}</a><br/><span class="date">({{ item.time|date:"H:i:s, d/m/Y" }})</span></li>
72 <div class="card mt-4">
73 <div class="card-header">
74 <h2>{% trans "Recent activity for" %} {{ request.user|nice_name }}</h2>
76 <div class="card-body">
77 {% wall request.user 10 %}
79 {% endblock rightcolumn %}