fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+Change.author_desc, minor changes
[redakcja.git]
/
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
fd4760e
..
f808a1d
100644
(file)
--- a/
apps/wiki/templates/wiki/document_list.html
+++ b/
apps/wiki/templates/wiki/document_list.html
@@
-32,21
+32,23
@@
$(function() {
<tbody>
{% for book in books %}
<tr>
<tbody>
{% for book in books %}
<tr>
- <td><a target="_blank" data-id="{{ book.slug }}"
- href="{% url wiki_book book.slug %}">{{ book.title }}</a>
- </td>
- <td class='listitem-tools'>
+ <td colspan="3">
+ <a target="_blank" data-id="{{ book.slug }}"
+ href="{% url wiki_book book.slug %}">[?]</a>
{% ifequal book.chunk_set.count 1 %}
<a target="_blank" data-id="{{ book.slug }}"
href="{% url wiki_editor book.slug %}">
{% ifequal book.chunk_set.count 1 %}
<a target="_blank" data-id="{{ book.slug }}"
href="{% url wiki_editor book.slug %}">
-
[{% trans "edit" %}]
</a>
+
{{ book.title }}
</a>
{% else %}
{% else %}
+ {{ book.title }}
+ <div class="chunk-list">
{% for chunk in book %}
<a target="_blank" data-id="{{ book.slug }}"
href="{{ chunk.get_absolute_url }}">
{% for chunk in book %}
<a target="_blank" data-id="{{ book.slug }}"
href="{{ chunk.get_absolute_url }}">
-
[
<span class='chunkno'>{{ forloop.counter }}.</span>
- {{ chunk.comment }}</a>
]
<br/>
+ <span class='chunkno'>{{ forloop.counter }}.</span>
+ {{ chunk.comment }}</a><br/>
{% endfor %}
{% endfor %}
+ </div>
{% endifequal %}
</td>
<!-- placeholder </td> -->
{% endifequal %}
</td>
<!-- placeholder </td> -->