X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/793b39c86e9583467f1cbc41f8b1a4677d079f23..985ca3a21df2340caa545f27e5f01fd1eb87c9c8:/apps/wiki/templates/wiki/document_list.html diff --git a/apps/wiki/templates/wiki/document_list.html b/apps/wiki/templates/wiki/document_list.html index bec15560..f808a1d3 100644 --- a/apps/wiki/templates/wiki/document_list.html +++ b/apps/wiki/templates/wiki/document_list.html @@ -32,21 +32,23 @@ $(function() { {% for book in books %} - {{ book.title }} - - + + [?] {% ifequal book.chunk_set.count 1 %} - [{% trans "edit" %}] + {{ book.title }} {% else %} - {% for chunk in book.chunk_set.all %} + {{ book.title }} +
+ {% for chunk in book %} - [{{ forloop.counter }}. - {{ chunk.comment }}]
+ href="{{ chunk.get_absolute_url }}"> + {{ forloop.counter }}. + {{ chunk.comment }}
{% endfor %} +
{% endifequal %}