- <td colspan="3"><a target="_blank" data-id="{{ book.slug }}"
- href="{% url wiki_editor book.slug %}">{{ book.title }}</a></td>
+ <td><a target="_blank" data-id="{{ book.slug }}"
+ href="{% url wiki_book book.slug %}">{{ book.title }}</a>
+ </td>
+ <td class='listitem-tools'>
+ {% ifequal book.chunk_set.count 1 %}
+ <a target="_blank" data-id="{{ book.slug }}"
+ href="{% url wiki_editor book.slug %}">
+ [{% trans "edit" %}]</a>
+ {% else %}
+ {% for chunk in book.chunk_set.all %}
+ <a target="_blank" data-id="{{ book.slug }}"
+ href="{% url wiki_editor book.slug chunk.slug %}">
+ [<span class='chunkno'>{{ forloop.counter }}.</span>
+ {{ chunk.comment }}</a>]<br/>
+ {% endfor %}
+ {% endifequal %}
+ </td>