X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/61c3753c6e0c567ccbb11115c787da22218ab5f6..bb551d54ea65621cae28c6acbfd91b22dc441dae:/apps/wiki/templates/wiki/document_list.html?ds=inline diff --git a/apps/wiki/templates/wiki/document_list.html b/apps/wiki/templates/wiki/document_list.html index 183d6128..434324ca 100644 --- a/apps/wiki/templates/wiki/document_list.html +++ b/apps/wiki/templates/wiki/document_list.html @@ -1,48 +1,102 @@ -{% extends "base.html" %} -{% load compressed %} +{% extends "wiki/base.html" %} -{% block extrahead %} -{% compressed_css 'listing' %} -{% endblock extrahead %} +{% load i18n %} +{% load pagination_tags %} +{% load wiki %} {% block extrabody %} -{% compressed_js 'listing' %} +{{ block.super }} {% endblock %} -{% block maincontent %} -

Platforma Redakcyjna

- -
-
-

Filtr: - - -

-
- -
- {% for file in document_list %} -

{{ file }}

- {% endfor %} -
-
- - -{% endblock maincontent %} +{% block leftcolumn %} +
+ + + + + + + + + +
Filtr:
+
+ + + +
+ + + {% autopaginate books 20 %} + {% if not books %} + + {% endif %} + {% for item in books %} + {% with item.book as book %} + + {% ifequal item.book_length 1 %} + {% with item.chunks.0 as chunk %} + + + + + + + + {% endwith %} + {% else %} + + + + + + {% for chunk in item.chunks %} + + + + + + + + {% endfor %} + {% endifequal %} + {% endwith %} + {% endfor %} + + +
{% trans "No books found." %}
[B][c] + {{ book.title }}({{ chunk.stage }}){% if chunk.user %}{{ chunk.user.first_name }} {{ chunk.user.last_name }}{% endif %}
[B]{{ book.title }}
[c] + {{ chunk.number }}. + {{ chunk.comment }}({{ chunk.stage }}){% if chunk.user %}{{ chunk.user.first_name }} {{ chunk.user.last_name }}{% endif %}
{% paginate %}
+
+{% endblock leftcolumn %} + +{% block rightcolumn %} +
+

{% trans "Your last edited documents" %}

+
    + {% for slugs, item in last_books %} +
  1. {{ item.title }}
    ({{ item.time|date:"H:i:s, d/m/Y" }})
  2. + {% endfor %} +
+
+ +

{% trans "Recent activity" %}

+ {% wall %} +{% endblock rightcolumn %}